Sha256: e06f169d730bb14fc4f424da466eca76bb76058a7d6c1bd6ce90f2932ed85bdd

Contents?: true

Size: 811 Bytes

Versions: 2

Compression:

Stored size: 811 Bytes

Contents

= hidden_field_tag :view_type, (@current_action.view_type || params[:view_type])
.cm-index-page.cm-page-container
  .sticky-container.page-top-bar
    == render 'cm_admin/main/top_navbar'
    - if @model.filters.present? && @action.partial.nil?
      .cm-index-page__filters
        == render partial: 'cm_admin/main/filters', locals: { filters: @model.filters }
  .cm-index-page__table-container
    - if @action.partial
      == render @action.partial
    - elsif params[:view_type] == 'card' || @current_action.view_type == :card_view
      == render 'cm_admin/main/card'
    - elsif params[:view_type] == 'kanban' || @current_action.view_type == :kanban
      == render 'cm_admin/main/kanban'
    - else
      == render 'cm_admin/main/table'
    = column_pop_up(@model)
    = manage_column_pop_up(@model)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cm-admin-1.4.1 app/views/cm_admin/main/index.html.slim
cm-admin-1.4.0 app/views/cm_admin/main/index.html.slim