forked from bofh/fetsite
GitHub Account angelegt
This commit is contained in:
11
lib/templates/erb/scaffold/_form.html.erb
Normal file
11
lib/templates/erb/scaffold/_form.html.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
<%%= 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 %>
|
||||
Reference in New Issue
Block a user