Sha256: 31605ad53f9ad2c2e3c5b0018aedc18a6614bd57694274680a03a653cd24e485

Contents?: true

Size: 384 Bytes

Versions: 27

Compression:

Stored size: 384 Bytes

Contents

<%%= simple_form_for(@<%= singular_table_name %>) 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 col-md-3"  %>
  </div>
<%% end %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
adherent-0.3.13 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.12 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.11 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.10 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.9 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.7 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.6 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.5 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.4 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.3 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.2 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.1 lib/templates/erb/scaffold/_form.html.erb
adherent-0.3.0 lib/templates/erb/scaffold/_form.html.erb
adherent-0.2.9 lib/templates/erb/scaffold/_form.html.erb
adherent-0.2.8 lib/templates/erb/scaffold/_form.html.erb
adherent-0.2.7 lib/templates/erb/scaffold/_form.html.erb
adherent-0.2.6 lib/templates/erb/scaffold/_form.html.erb
adherent-0.2.5 lib/templates/erb/scaffold/_form.html.erb
adherent-0.2.4 lib/templates/erb/scaffold/_form.html.erb
adherent-0.2.3 lib/templates/erb/scaffold/_form.html.erb