Sha256: d7026aced44dd4a32278f4a1b2b526933dfc96f9350d06cd178ce7a1a57cd393

Contents?: true

Size: 303 Bytes

Versions: 4

Compression:

Stored size: 303 Bytes

Contents

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

  <div class="actions">
    <%%= f.button :submit %>
  </div>
<%% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_form-1.1.3 lib/generators/simple_form_install/templates/_form.html.erb
simple_form-1.1.2 lib/generators/simple_form_install/templates/_form.html.erb
simple_form-1.1.1 lib/generators/simple_form_install/templates/_form.html.erb
simple_form-1.1.0 lib/generators/simple_form_install/templates/_form.html.erb