Sha256: d6709a905c64dcc1f5742784792d9591e2c3eff1bc384e123182548d29cb46a5
Contents?: true
Size: 562 Bytes
Versions: 2
Compression:
Stored size: 562 Bytes
Contents
<div class="nested-fields" style="width: 40%; margin-left: 20%;"> <%= 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( # TODO I18n "Add #{field.associated_class_name.titleize}", f, field.association_name, partial: "fields/nested_has_many/fields", render_options: { locals: { field: field } }, ) %> </div> </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/_form.html.erb |
administrate-field-nested_has_many-0.0.1 | app/views/fields/nested_has_many/_form.html.erb |