Sha256: 329af2234caa4525bd6bce5bb21b27506c7d3a51a85d487cac629d62402f3d3d
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 KB
Contents
= hidden_field_tag :view_type, (params[:view_type] || @current_action.view_type) .drawer-container data-behaviour="cm-drawer-container" .cm-index-page.cm-page-container .sticky-container.page-top-bar == render 'cm_admin/main/top_navbar' - if (@model.filters.present? || has_valid_policy(@ar_object, :export)) && @action.partial.nil? .cm-index-page__filters == render partial: 'cm_admin/main/filters', locals: { filters: @model.filters } - if has_valid_policy(@ar_object, :export) .export-container button.btn-dark data-bs-toggle="modal" data-bs-target="#exportModal" i.fa-regular.fa-file-export.me-1 | Export .cm-index-page__table-container - if @action.partial == render @action.partial - elsif params[:view_type] == 'kanban' || @current_action.view_type == :kanban == render 'cm_admin/main/kanban' - elsif params[:view_type] == 'card' || @current_action.view_type == :card == render "cm_admin/#{@model.name.underscore}/card" - elsif params[:view_type] == 'table' || @current_action.view_type == :table == render 'cm_admin/main/table' = column_pop_up(@model) = manage_column_pop_up(@model)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cm-admin-4.4.0 | app/views/cm_admin/main/index.html.slim |