First checkin
This commit is contained in:
parent
f207e2c8b7
commit
90b30db9e8
260 changed files with 37349 additions and 0 deletions
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 %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue