% content_for :sidebar_menu_nav do %> <%= sidebar_menu(:admin_participatory_processes_menu).render %> <% end %>
<%= t("models.participatory_process_group.fields.title", scope: "decidim.admin") %> | |
---|---|
<% if group.promoted? %>
">
<%= icon "star" %>
<% end %>
<% if allowed_to? :update, :process_group, process_group: group %>
<%= link_to translated_attribute(group.title), [:edit, group] %> <% else %> <%= translated_attribute(group.title) %> <% end %> |
<% if allowed_to? :update, :process_group, process_group: group %> <%= icon_link_to "pencil", [:edit, group], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %> <% else %> <% end %> <%= icon_link_to "eye", decidim_participatory_processes.participatory_process_group_path(group), t("actions.preview", scope: "decidim.admin"), class: "action-icon--preview" %> <% if allowed_to? :destroy, :process_group, process_group: group %> <%= icon_link_to "circle-x", group, t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %> <% else %> <% end %> |