Sha256: aac3e6777ce00638a9a1569d218044dd2c497aa04067dd48d4cd1bbb588d8127
Contents?: true
Size: 1.21 KB
Versions: 1
Compression:
Stored size: 1.21 KB
Contents
<div class="nested-fields nested-fields_<%= field.attribute %> w-100"> <div class="card light-shadow"> <div class="card-body dfsfqsff"> <% if giveArrayOfNonDateForm(field,f).any? %> <% giveArrayOfNonDateForm(field,f).each do |attribute| -%> <div class="col-12"> <div class="form-group field-unit field-unit--<%= attribute.html_class %>"> <%= render_field attribute, f: f, page: @page %> </div> </div> <% end -%> <%end %> <% if giveArrayOfDateForm(field,f).any? %> <div class="row"> <% giveArrayOfDateForm(field,f).each do |attribute| -%> <div class="col-12 col-md-6"> <div class="form-group field-unit field-unit--<%= attribute.html_class %>"> <%= render_field attribute, f: f, page: @page %> </div> </div> <% end -%> </div> <%end %> <div> <%= link_to_remove_association( t("administrate.fields.nested_has_many.remove.#{field.association_name}").html_safe, f, # class: 'btn btn-outline-danger mb-2 mt-3', class: 'mb-2 mt-3' )%> </div> </div> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
viniBaxter-spa-nested_has_many-300.0.2 | app/views/fields/nested_has_many/_fields.html.erb |