% content_for :secondary_nav do %>
<% if can? :update, participatory_process %>
- class="is-active" <% end %>>
<%= aria_selected_link_to t("info", scope: "decidim.admin.menu.participatory_processes_submenu"), decidim_admin.edit_participatory_process_path(participatory_process) %>
<% end %>
<% if can? :read, Decidim::ParticipatoryProcessStep %>
- class="is-active" <% end %>>
<%= aria_selected_link_to t("steps", scope: "decidim.admin.menu.participatory_processes_submenu"), decidim_admin.participatory_process_steps_path(participatory_process) %>
<% end %>
<% if can? :read, Decidim::Feature %>
- class="is-active" <% end %>>
<%= aria_selected_link_to t("features", scope: "decidim.admin.menu.participatory_processes_submenu"), decidim_admin.participatory_process_features_path(participatory_process) %>
<% participatory_process.features.each do |feature| %>
<% if feature.manifest.admin_engine %>
- class="is-active" <% end %>>
<%= link_to decidim_admin.manage_feature_path(participatory_process, feature) do %>
<%= translated_attribute feature.name %>
<% end %>
<% end %>
<% end %>
<% end %>
<% if can? :read, Decidim::Category %>
- class="is-active" <% end %>>
<%= aria_selected_link_to t("categories", scope: "decidim.admin.menu.participatory_processes_submenu"), decidim_admin.participatory_process_categories_path(participatory_process) %>
<% end %>
<% if can? :read, Decidim::Attachment %>
- class="is-active" <% end %>>
<%= aria_selected_link_to t("attachments", scope: "decidim.admin.menu.participatory_processes_submenu"), decidim_admin.participatory_process_attachments_path(participatory_process.id) %>
<% end %>
<% if can? :read, Decidim::Admin::ParticipatoryProcessUserRole %>
- class="is-active" <% end %>>
<%= aria_selected_link_to t("process_admins", scope: "decidim.admin.menu.participatory_processes_submenu"), decidim_admin.participatory_process_user_roles_path(participatory_process) %>
<% end %>
<% if can? :read, Decidim::Moderation %>
- class="is-active" <% end %>>
<%= aria_selected_link_to t("moderations", scope: "decidim.admin.menu.participatory_processes_submenu"), decidim_admin.participatory_process_moderations_path(participatory_process.id) %>
<% end %>
<% end %>
<%= render "layouts/decidim/admin/application" do %>
<%= translated_attribute(participatory_process.title) %>
<%= yield %>
<% end %>