Sha256: a307b7e141187dd3be30baec8a276de0182ccb03f1cc89121a2dd560aa47c32d
Contents?: true
Size: 1.08 KB
Versions: 9
Compression:
Stored size: 1.08 KB
Contents
<div class="container-fluid mt-5"> <!-- <div class="row"> --> <<%= fieldset %> class="row field-unit--nested field-unit--nested_<%= field.attribute %>" data="field-unit--nested_<%= field.attribute %>"> <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 class='btn-fixed_<%= field.attribute %> '> <%= link_to_add_association( t("administrate.fields.nested_has_many.add.#{field.association_name}").html_safe, # I18n.t("administrate.fields.nested_has_many.add", resource: t("administrate.helpers.model.#{field.association_name}")).html_safe, f, field.association_name, class: 'btn btn-outline-primary mb-2', partial: "fields/nested_has_many/fields", render_options: { locals: { field: field} }, ) %> </div> </<%= fieldset %>> </div> <!-- </div> -->
Version data entries
9 entries across 9 versions & 1 rubygems