Sha256: 51180a0f1ea1d9b534c4c22dd32c33a13b8acc74201e42894a9090672ff017c9

Contents?: true

Size: 361 Bytes

Versions: 5

Compression:

Stored size: 361 Bytes

Contents

= simple_form_for(@<%= singular_table_name %>, :defaults => { :input_html => { :class => 'input-xxlarge' } }) do |f|
  = f.error_notification

  .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

5 entries across 5 versions & 1 rubygems

Version Path
bootstrap-generators-2.3.2 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml
bootstrap-generators-2.3.1.2 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml
bootstrap-generators-2.3.1.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml
bootstrap-generators-2.3.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml
bootstrap-generators-2.0.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml