Sha256: c7fa0ad61a246f8de2db3f0ba90dabcaa50b7823e874d44ce6f7f3c0ccdd71f7

Contents?: true

Size: 898 Bytes

Versions: 90

Compression:

Stored size: 898 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] == 'table' || @current_action.view_type == :table 
      == render 'cm_admin/main/table'
    - elsif params[:view_type] == 'card' || @current_action.view_type == :card
      == render "cm_admin/#{@model.name.underscore}/card"
    - elsif params[:view_type] == 'kanban' || @current_action.view_type == :kanban
      == render 'cm_admin/main/kanban'
    = column_pop_up(@model)
    = manage_column_pop_up(@model)

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
cm-admin-3.0.14 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.13 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.12 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.11 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.10 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.9 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.8 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.7 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.6 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.5 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.4 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.3 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.2 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.1 app/views/cm_admin/main/index.html.slim
cm-admin-3.0.0 app/views/cm_admin/main/index.html.slim
cm-admin-2.4.6 app/views/cm_admin/main/index.html.slim
cm-admin-2.4.5 app/views/cm_admin/main/index.html.slim
cm-admin-2.4.4 app/views/cm_admin/main/index.html.slim
cm-admin-2.4.3 app/views/cm_admin/main/index.html.slim
cm-admin-2.4.2 app/views/cm_admin/main/index.html.slim