Update formtastic to version 4.0.0
This commit is contained in:
parent
2527af1c1b
commit
91967e9d70
4 changed files with 33 additions and 27 deletions
8
lib/templates/haml/scaffold/_form.html.haml
Normal file
8
lib/templates/haml/scaffold/_form.html.haml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
= semantic_form_for @<%= singular_name %> do |f|
|
||||
= f.inputs do
|
||||
<%- attributes.each do |attribute| -%>
|
||||
= f.input :<%= attribute.name %>
|
||||
<%- end -%>
|
||||
|
||||
= f.actions do
|
||||
= f.action :submit, :as => :input
|
||||
Loading…
Add table
Add a link
Reference in a new issue