Sha256: db6e1430fb29ef83d8eec120d16e732e95f60d371a3e46c7542414b0bca97973
Contents?: true
Size: 660 Bytes
Versions: 2
Compression:
Stored size: 660 Bytes
Contents
<h1>New <%= @name_singular_camel %></h1> <%%= error_messages_for :<%= @name_singular %> %> <form action="<%%= <%= @name_singular %>s_create_url %>" class="new_<%= @name_singular %>" id="new_<%= @name_singular %>" method="<%= @name_singular %>"> <% for column in columns -%> <% unless column.column_name == "created_at" || column.column_name == "updated_at" -%> <p> <b><%= column.column_name.singular.camelcase %></b><br /> <%= column.form_field %> </p> <% end -%> <% end -%> <p> <input id="<%= @name_singular %>_submit" name="commit" type="submit" value="Create" /> </p> </form> <%%= link_to("Back", <%= @name_singular %>s_index_url) %>
Version data entries
2 entries across 2 versions & 1 rubygems