Files
fetsite/lib/templates/erb/scaffold/_form.html.erb
Andreas Stephanides 3d11400d5e GitHub Account angelegt
2013-02-12 02:05:12 +01:00

12 lines
280 B
Plaintext

<%%= semantic_form_for @<%= singular_name %> do |f| %>
<%%= f.inputs do %>
<%- attributes.each do |attribute| -%>
<%%= f.input :<%= attribute.name %> %>
<%- end -%>
<%% end %>
<%%= f.actions do %>
<%%= f.action :submit, :as => :input %>
<%% end %>
<%% end %>