doctype html html head title | Admin meta[name="viewport" content="width=device-width,initial-scale=1"] = csrf_meta_tags = csp_meta_tag = stylesheet_link_tag 'cm_admin/cm_admin', media: 'all', 'data-turbolinks-track': 'reload' - if CmAdmin::VersionManager.use_webpacker? = stylesheet_pack_tag 'cm_admin/application', 'data-turbolinks-track': 'reload' = javascript_pack_tag 'cm_admin/application', 'data-turbolinks-track': 'reload' script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js" - elsif CmAdmin::VersionManager.use_importmap? = javascript_importmap_tags = javascript_import_module_tag "cm_admin/application" = javascript_include_tag 'cm_admin/custom', 'data-turbolinks-track': 'reload' = stylesheet_link_tag 'cm_admin/custom', media: 'all', 'data-turbolinks-track': 'reload' link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" / script src="https://raw.githack.com/SortableJS/Sortable/master/Sortable.js" link[rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2-bootstrap-5-theme@1.3.0/dist/select2-bootstrap-5-theme.min.css"] link[rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2-bootstrap-5-theme@1.3.0/dist/select2-bootstrap-5-theme.rtl.min.css"] body .cm-admin = render 'layouts/left_sidebar_nav' .panel-area - if defined?(@action) && (@action&.layout_type.to_s == 'cm_association_show' || @action.parent == "show") .show-page .show-page__header.page-top-bar == render 'cm_admin/main/top_navbar' == render 'cm_admin/main/tabs', via_xhr: false .show-page__inner = yield - elsif defined?(@action) && (@action&.layout_type.to_s == 'cm_association_index' || @action.parent == "index") .show-page .show-page__header.page-top-bar == render 'cm_admin/main/top_navbar' - if @ar_object.model_name == render 'cm_admin/main/tabs', via_xhr: false - if @associated_model && @associated_model.filters.present? .filters-bar == render partial: 'cm_admin/main/filters', locals: { filters: @associated_model.filters } = yield - else = yield = render 'layouts/cm_flash_message' - unless (@current_action&.view_type == :kanban || params[:view_type] == 'kanban') = render 'layouts/custom_action_modals'