lib/scaffold_generator/templates/app/views/edit.html.erb.template in mack-data_mapper-0.5.1 vs lib/scaffold_generator/templates/app/views/edit.html.erb.template in mack-data_mapper-0.5.5

- old
+ new

@@ -1,9 +1,9 @@ <h1>Edit <%= @name_singular_camel %></h1> <%%= error_messages_for :<%= @name_singular %> %> -<%% form(<%= @name_singular %>s_update_url(:id => @<%= @name_singular %>.id), :class => "edit_<%= @name_singular %>", :id => "edit_<%= @name_singular %>", :method => :put) do %> +<%% form(<%= @name_singular %>s_update_url(:id => @<%= @name_singular %>), :class => "edit_<%= @name_singular %>", :id => "edit_<%= @name_singular %>", :method => :put) do %> <% 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 %> \ No newline at end of file