Sha256: 648509106ba0291346856de2cc09cf1ac7abd8ea139e981a972ec440ad898d2e
Contents?: true
Size: 1.11 KB
Versions: 20
Compression:
Stored size: 1.11 KB
Contents
- if nested_table_field.display_type == :table tr.nested-fields td.item-delete-cell = link_to_remove_association "", f, class: 'fa-regular fa-trash-can btn-ghost' - nested_table_field.fields.each do |field| td data-field-type="#{field.input_type}" = input_field_for_column(f, field) - else .form-card.nested-fields .card-body .card-item data-card-name=assoc_name .card-title-wrapper h6.card-title | Title 1 .card-delete = link_to_remove_association "", f, class: 'fa-regular fa-trash-can btn-ghost' div - nested_table_field.fields.each do |field| .form-field .field-label-wrapper label.field-label = field.field_name.to_s.titleize .field-input-wrapper = input_field_for_column(f, field) - if nested_table_field.associated_fields.present? - nested_table_field.associated_fields.each do |associated_nested_field| = render partial: '/cm_admin/main/nested_table_form', locals: { f: f, nested_table_field: associated_nested_field }
Version data entries
20 entries across 20 versions & 1 rubygems