New <%= singular_name %>

<%%= error_messages_for :<%= singular_name %> %> <%% form_for(:<%= singular_name %>, :url => <%= plural_name %>_path) do |f| %> <% for attribute in attributes -%>

<%= attribute.column.human_name %>
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>

<% end -%>

<%%= submit_tag "Create" %>

<%% end %> <%%= link_to 'Back', <%= plural_name %>_path %>