Sha256: 476564e244d03c6d2f39b3bcfba853c92cfb652c30c9a0a82e7a6799912f698e

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

= form_for(@<%%= singular_table_name %>) do |f| 
  <%%- object = "@#{singular_table_name}" -%>
  = render 'error_messages', :target => <%%= object %>

<%% attributes.each do |attribute| -%>
  .field
    = f.label :<%%= attribute.name %>
    %br
    = f.<%%= attribute.field_type %> :<%%= attribute.name %>
<%% end -%>
  .actions
    = f.submit 

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lbs-config-0.0.2 lib/generators/lbs/install/templates/_form.html.haml