Sha256: a9499f1be64faf6b7e1a40ee41a94dac2478d494eefac14f454853f238e71a19

Contents?: true

Size: 316 Bytes

Versions: 9

Compression:

Stored size: 316 Bytes

Contents

= bootstrap_form_for(<%= singular_table_name %>) do |f|
<% attributes.each do |attribute| -%>
<% if attribute.password_digest? -%>
  = f.password_field :password
  = f.password_field :password_confirmation
<% else -%>
  = f.<%= attribute.field_type %> :<%= attribute.column_name %>
<% end -%>
<% end -%>
  = f.submit

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bootstrap_leather-0.10.13 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.11 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.10 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.9 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.8 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.7 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.6 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.5 lib/templates/haml/scaffold/_form.html.haml
bootstrap_leather-0.10.4 lib/templates/haml/scaffold/_form.html.haml