Sha256: d8eea23ea4d3935d03ee75ad0724494d0a6fc208896a112440977ea522a1cac8
Contents?: true
Size: 747 Bytes
Versions: 2
Compression:
Stored size: 747 Bytes
Contents
<h1>Edit <%= @name_singular_camel %></h1> <%%= error_messages_for :<%= @name_singular %> %> <form action="<%%= <%= @name_singular %>s_update_url(:id => @<%= @name_singular %>.id) %>" class="edit_<%= @name_singular %>" id="edit_<%= @name_singular %>" method="<%= @name_singular %>"> <input type="hidden" name="_method" value="put"> <% 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