Sha256: cf5090d9bf4846987ebd538d2680f333678bb60161831b74e83b7114536f184a

Contents?: true

Size: 406 Bytes

Versions: 4

Compression:

Stored size: 406 Bytes

Contents

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

- semantic_form_for @<%= singular_name.singularize %>.new_record? ? <%= form_model('new') %> : <%= form_model('edit') %>, :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.1.5 generators/schofield_form/templates/view__form.html.haml
schofield-0.1.4 generators/schofield_form/templates/view__form.html.haml
schofield-0.1.3 generators/schofield_form/templates/view__form.html.haml
schofield-0.1.2 generators/schofield_form/templates/view__form.html.haml