Sha256: 7cb458034d47524378c888ff5b233a178737ed4e75238d1afe77f7479d03f9e0

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

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

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.erb
bootstrap-generators-2.2.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb
bootstrap-generators-2.1.1 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb
bootstrap-generators-2.0.4 lib/generators/bootstrap/install/templates/form_builders/simple_form/_form.html.erb