Sha256: ab4da0eeeef7acb39e0e14ad6e0813e1a191a527a178d196677e8226fe53f46d

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

= error_messages_for '<%= singular_name.singularize %>', :object => object

- semantic_form_for [:admin, @<%= singular_name.singularize %>], :html => { :multipart => true } do |f|

  - f.inputs do
  
<% attributes.each do |attribute| -%>
    = f.input :<%= attribute.name %>, :label => '<%= attribute.name.humanize %>'
<% end -%>
    
  = f.buttons

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
schofield-0.0.4 generators/schofield_form/templates/view__form.html.haml
schofield-0.0.3 generators/schofield_form/templates/view__form.html.haml
schofield-0.0.2 generators/form/templates/view__form.html.haml
schofield-0.0.1 generators/form/templates/view__form.html.haml