<%%= render ‘error_messages’, target: f.object %> <% attributes.each do |attribute| -%> <%%= f.<%= attribute.field_type %> :<%= attribute.column_name %> %> <% end -%>
<%%= render ‘error_messages’, target: f.object %> <% attributes.each do |attribute| -%> <%%= f.<%= attribute.field_type %> :<%= attribute.column_name %> %> <% end -%>