Sha256: b78a2725eaf0769d3607b7a38c132340e0b65c8910b5048c86804309593dc184

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

= simple_form_for(@<%= singular_table_name %>, :defaults => { :input_html => { :class => 'input-xlarge' } }) 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

4 entries across 4 versions & 1 rubygems

Version Path
bootstrap-generators-2.2.2 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml
bootstrap-generators-2.2.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml
bootstrap-generators-2.1.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml
bootstrap-generators-2.0.4 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.haml