Sha256: 156c0a46a57db1a3144eb6a43795d275e152b73fa0771160e2b7124b144e801a
Contents?: true
Size: 659 Bytes
Versions: 7
Compression:
Stored size: 659 Bytes
Contents
<fieldset class="field-unit--nested"> <legend><%= f.label field.attribute %></legend> <%= f.fields_for field.association_name do |nested_form| %> <%= render( partial: "fields/nested_has_many/fields", locals: { f: nested_form, field: field, }, ) %> <% end %> <div> <%= link_to_add_association( I18n.t("administrate.fields.nested_has_many.add", resource: field.associated_class_name.titleize), f, field.association_name, class: 'button', partial: "fields/nested_has_many/fields", render_options: { locals: { field: field } }, ) %> </div> </fieldset>
Version data entries
7 entries across 7 versions & 2 rubygems