Sha256: 9b50868aab90503443e82b46e20b139febeb9cf0501f317678aef28b64d5a14e

Contents?: true

Size: 615 Bytes

Versions: 22

Compression:

Stored size: 615 Bytes

Contents

.show-page
  .show-page__header.page-top-bar
    == render 'cm_admin/main/top_navbar'
    == render 'cm_admin/main/tabs'
  .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

22 entries across 22 versions & 1 rubygems

Version Path
cm-admin-1.4.1 app/views/cm_admin/main/show.html.slim
cm-admin-1.4.0 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.9 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.8 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.7 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.6 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.5 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.4 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.3 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.2 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.1 app/views/cm_admin/main/show.html.slim
cm-admin-1.3.0 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.9 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.8 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.7 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.6 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.5 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.4 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.3 app/views/cm_admin/main/show.html.slim
cm-admin-1.2.2 app/views/cm_admin/main/show.html.slim