lib/generators/templates/_form.html.slim in formtastic-2.0.2 vs lib/generators/templates/_form.html.slim in formtastic-2.1.0.beta1
- old
+ new
@@ -1,8 +1,8 @@
= semantic_form_for @<%= singular_name %> do |f|
= f.inputs do
- <% attributes.each do |attribute| -%>
+ <%- attributes.each do |attribute| -%>
= f.input :<%= attribute.name %>
- <% end -%>
+ <%- end -%>
= f.buttons do
= f.commit_button