Sha256: 4079264e72d3885271da3ace54badbcaaacae270eb6b532806091ec1f67c62c4

Contents?: true

Size: 336 Bytes

Versions: 13

Compression:

Stored size: 336 Bytes

Contents

<%%= simple_form_for(@<%= singular_name %>) do |f| %>
  <%%= f.error_notification %>

  <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

13 entries across 13 versions & 4 rubygems

Version Path
upgrade_surveyor_gui-0.1.3 lib/templates/erb/scaffold/_form.html.erb
upgrade_surveyor_gui-0.1.2 lib/templates/erb/scaffold/_form.html.erb
surveyor_gui-0.1.2 lib/templates/erb/scaffold/_form.html.erb
surveyor_gui-0.1.1 lib/templates/erb/scaffold/_form.html.erb
surveyor_gui-0.1.0 lib/templates/erb/scaffold/_form.html.erb
surveyor_gui-0.0.3 lib/templates/erb/scaffold/_form.html.erb
saasaparilla-0.2.2 spec/dummy/lib/templates/erb/scaffold/_form.html.erb
saasaparilla-0.2.1 spec/dummy/lib/templates/erb/scaffold/_form.html.erb
saasaparilla-0.1.8 spec/dummy/lib/templates/erb/scaffold/_form.html.erb
saasaparilla-0.1.7 spec/dummy/lib/templates/erb/scaffold/_form.html.erb
saasaparilla-0.1.6 spec/dummy/lib/templates/erb/scaffold/_form.html.erb
simple_form-1.3.1 lib/generators/simple_form/templates/_form.html.erb
simple_form-1.3.0 lib/generators/simple_form/templates/_form.html.erb