Sha256: 257c205334113926dd85d78caf7d9cf04b7839954ace415c41fb4d36913c6ccc

Contents?: true

Size: 622 Bytes

Versions: 43

Compression:

Stored size: 622 Bytes

Contents

.show-page__header.page-top-bar
  == render 'cm_admin/main/top_navbar'
  == render 'cm_admin/main/tabs', via_xhr: defined?(via_xhr) ? via_xhr : false
.show-page__inner
  - if @action.partial
    == render @action.partial
  - else
    - @model.available_fields[:show].each do |entity|
      .row
        - if entity.class == CmAdmin::Models::Row
          - entity.sections.each do |section|
            = render partial: 'cm_admin/main/show_section', locals: { section: section }
        - elsif entity.class == CmAdmin::Models::Section
          = render partial: 'cm_admin/main/show_section', locals: { section: entity }

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
cm-admin-1.4.6 app/views/cm_admin/main/_show_content.html.slim
cm-admin-1.4.5 app/views/cm_admin/main/_show_content.html.slim
cm-admin-1.4.4 app/views/cm_admin/main/_show_content.html.slim