<% add_decidim_page_title(t("titles.panel", scope: "decidim.admin")) %> <% add_decidim_page_title(current_organization_name) %> <%= decidim_page_title %> <%= render partial: "layouts/decidim/admin/header" %>
<%= render partial: "layouts/decidim/admin/title_bar_responsive" %>
<%= link_to decidim_admin.root_path, class: "logo hidden md:block", data: { "external-link": false }, aria: { label: t("decidim.accessibility.logo", organization: current_organization_name) } do %> <% if current_organization.logo.present? %> <%= image_tag current_organization.attached_uploader(:logo).path, alt: current_organization_name %> <% else %> <% end %> <% end %> <%= main_menu_modules.render %> <%= main_menu.render %>
<%= yield :secondary_nav if content_for? :secondary_nav %> <%= yield :sidebar_menu_nav if content_for? :sidebar_menu_nav %> <%= yield :aside_menu_nav if content_for? :aside_menu_nav %> <%= render partial: "layouts/decidim/admin/breadcrumb" %> <%= render partial: "layouts/decidim/admin/callouts_full" %> <% if has_secondary_root_menu? %>
<%= render "layouts/decidim/admin/sidebar_menu" do %> <%= yield %> <% end %>
<% else %>
<%= admin_tabs(tab_menu_name).render if defined?(has_tab_menu?) && has_tab_menu? %> <%= yield %>
<% end %>
<%= render partial: "layouts/decidim/timeout_modal" %> <%= render partial: "decidim/shared/confirm_modal" %> <%= render partial: "layouts/decidim/admin/js_configuration" %> <%= render partial: "layouts/decidim/cors" if Decidim.cors_enabled %> <%= snippets.display(:foot) %>