lib/generators/templates/_form.html.haml in formtastic-1.2.5 vs lib/generators/templates/_form.html.haml in formtastic-2.0.0.rc1

- old
+ new

@@ -1,4 +1,8 @@ -= f.inputs do -<% attributes.each do |attribute| -%> - = f.input :<%= attribute.name %> -<% end -%> += semantic_form_for @<%= singular_name %> do |f| + = f.inputs do + <% attributes.each do |attribute| -%> + = f.input :<%= attribute.name %> + <% end -%> + + = f.buttons do + = f.commit_button