Sha256: bd43bfaf9ba314d7e5aeb24a6128f4159f9d71191279dcea30013633781c0708

Contents?: true

Size: 613 Bytes

Versions: 10

Compression:

Stored size: 613 Bytes

Contents


<div class="nested-fields nested-fields_<%= field.attribute %>">
  <div class="card light-shadow">
    <div class="card-body">

      <% field.nested_fields_for_builder(f).each do |attribute| -%>
      <div class="form-group 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).html_safe,
       f,
       class: 'btn btn-outline-danger mb-2 mt-3'
       )%>


    </div>
  </div>
</div>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
viniBaxter-spa-nested_has_many-300.0.6 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-300.0.5 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-300.0.4 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-300.0.2 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-300.0.1 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-5.4.0 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-5.0.1 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-5.0.0 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-4.0.0 app/views/fields/nested_has_many/_fields_backUp.html.erb
viniBaxter-spa-nested_has_many-3.0.0 app/views/fields/nested_has_many/_fields_backUp.html.erb