Sha256: 78ca194aa93905ae9b411e959afbcdd54c6eefd90a8db0a2ad8803b9843b7504

Contents?: true

Size: 347 Bytes

Versions: 2

Compression:

Stored size: 347 Bytes

Contents

<div class="nested-fields" style="width:100%">

  <% field.nested_fields.each do |attribute| -%>
    <div class="field-unit field-unit--<%= attribute.html_class %>">
      <%= render_field attribute, f: f %>
    </div>
  <% end -%>

  <%# TODO I18n %>
  <%= link_to_remove_association "Remove #{field.associated_class_name.titleize}", f %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
administrate-field-nested_has_many-0.0.2 app/views/fields/nested_has_many/_fields.html.erb
administrate-field-nested_has_many-0.0.1 app/views/fields/nested_has_many/_fields.html.erb