Sha256: 122c6448c5630578ecc00ef75a45bb56acf98a808abec15cd38ed679356ed35d

Contents?: true

Size: 387 Bytes

Versions: 47

Compression:

Stored size: 387 Bytes

Contents

<%# frozen_string_literal: true %>
<%%= 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 %>
  </div>
<%% end %>

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
lotus_admin-1.6.0 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.8 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.7 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.6 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.5 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.4 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.3 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.2 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.1 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.5.0 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.4.6 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.4.5 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.4.4 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.4.3 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.4.2 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.4.1 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.4.0 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.3.0 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.2.2 lib/templates/erb/scaffold/_form.html.erb
lotus_admin-1.2.1 lib/templates/erb/scaffold/_form.html.erb