Sha256: 2f27b16da457f10c3a70c2d328caf3b9694f848877ed56f157dd9a5587c36501
Contents?: true
Size: 755 Bytes
Versions: 41
Compression:
Stored size: 755 Bytes
Contents
- if section.display_if.call(@ar_object) div class="#{section.col_size ? 'col-' + section.col_size.to_s : 'col'}" .section p.section-heading = section.section_name .card .card-body - if section.partial.present? = render partial: section.partial, locals: { ar_object: @ar_object } - if !section.section_fields.empty? - section.section_fields.each do |field| = show_field(@ar_object, field) - if section.rows.present? = show_rows(@ar_object, section.rows) - section.nested_table_fields.each do |nested_field| = render partial: 'cm_admin/main/nested_table_section', locals: { nested_field: nested_field, ar_object: @ar_object }
Version data entries
41 entries across 41 versions & 1 rubygems