Sha256: b628008ccde939d15dd862f263fb4beabcba99adb0b17cb9805ecdaa1de8f188

Contents?: true

Size: 375 Bytes

Versions: 7

Compression:

Stored size: 375 Bytes

Contents

<div class="nested-fields">
  <% field.nested_fields_for_builder(f).each do |attribute| -%>
    <div class="field-unit field-unit--<%= attribute.html_class %>">
      <%= render_field attribute, f: f %>
    </div>
  <% end -%>

  <%= link_to_remove_association I18n.t("administrate.fields.nested_has_many.remove", resource: field.associated_class_name.titleize), f %>
</div>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
administrate-field-nested_has_many-2.1.0 app/views/fields/nested_has_many/_fields.html.erb
administrate-field-nested_has_many-2.0.0 app/views/fields/nested_has_many/_fields.html.erb
administrate-field-nested_has_many-1.3.0 app/views/fields/nested_has_many/_fields.html.erb
viniBaxter-spa-nested_has_many-2.0.0 app/views/fields/nested_has_many/_fields.html.erb
administrate-field-nested_has_many-1.2.0 app/views/fields/nested_has_many/_fields.html.erb
administrate-field-nested_has_many-1.1.0 app/views/fields/nested_has_many/_fields.html.erb
administrate-field-nested_has_many-1.0.0 app/views/fields/nested_has_many/_fields.html.erb