Sha256: f161a1075989f87ad5766a7263cb747d72c7896e42a19e5c98a9afaf8b866fde

Contents?: true

Size: 320 Bytes

Versions: 34

Compression:

Stored size: 320 Bytes

Contents

= simple_form_for(@<%= singular_table_name %>) do |f|
  = errors_for(@<%= singular_table_name %>)

  .form-inputs
    <%- attributes.each do |attribute| -%>
      = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>
    <%- end -%>

  .form-actions
    = f.button :submit, class: 'btn-primary'

Version data entries

34 entries across 17 versions & 1 rubygems

Version Path
bootstrap_views_generator-0.1.16 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.16 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.15 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.15 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.14 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.14 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.13 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.13 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.12 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.11 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.11 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.10 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.10 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.9 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.9 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.8 lib/generators/bootstrap/templates/simple_form/_form.html.haml
bootstrap_views_generator-0.1.8 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.7 lib/generators/bootstrap/templates/simple_form/_form.html.slim
bootstrap_views_generator-0.1.7 lib/generators/bootstrap/templates/simple_form/_form.html.haml