Sha256: 51c052ccb69a267c91f5d4e731d65f95df28e52da77b34d2ac4f13d9c89d893a

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

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

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

  <div class="form-actions">
    <%%= f.button :submit, :class => "btn-primary" %>
  </div>
<%% end %>

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.erb
bootstrap-generators-2.3.1.2 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb
bootstrap-generators-2.3.1.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb
bootstrap-generators-2.3.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb
bootstrap-generators-2.0.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb