Sha256: 1fd2e928b6308b9743ceaeab24163d137b14987161536ad0a834dad6cfe0df00

Contents?: true

Size: 737 Bytes

Versions: 4

Compression:

Stored size: 737 Bytes

Contents

.show-page__header.page-top-bar
  - if defined?(via_xhr) && via_xhr == false
    == render 'cm_admin/main/top_navbar' 
  == render 'cm_admin/main/tabs', via_xhr: defined?(via_xhr) ? via_xhr : false
.show-page__inner
  - unless @alerts.empty?
    == create_alerts(@alerts,@ar_object)
  - 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

4 entries across 4 versions & 1 rubygems

Version Path
cm-admin-4.4.8 app/views/cm_admin/main/_show_content.html.slim
cm-admin-4.4.6 app/views/cm_admin/main/_show_content.html.slim
cm-admin-4.4.1 app/views/cm_admin/main/_show_content.html.slim
cm-admin-4.4.0 app/views/cm_admin/main/_show_content.html.slim