lib/scaffold_generator/templates/app/views/edit.html.erb.template in mack-data_mapper-0.5.5 vs lib/scaffold_generator/templates/app/views/edit.html.erb.template in mack-data_mapper-0.6.0
- old
+ new
@@ -10,10 +10,10 @@
<%= column.form_field %>
</p>
<% end -%>
<% end -%>
<p>
- <input id="<%= @name_singular %>_submit" name="commit" type="submit" value="Update" />
+ <%%= submit_tag("Update") %>
</p>
<%% end %>
<%%= link_to("Back", <%= @name_singular %>s_index_url) %>
\ No newline at end of file