1
<h1>New <%= singular_name %></h1>
3
<%% form_for(@<%= singular_name %>) do |f| %>
4
<%%= f.error_messages %>
6
<% for attribute in attributes -%>
8
<%%= f.label :<%= attribute.name %> %><br />
9
<%%= f.<%= attribute.field_type %> :<%= attribute.name %> %>
13
<%%= f.submit 'Create' %>
17
<%%= link_to 'Back', <%= plural_name %>_path %>
b'\\ No newline at end of file'