% add_decidim_page_title(t("page_topics", scope: "decidim.admin.titles")) %>
<%= t("activemodel.attributes.static_page_topic.name") %> | |
---|---|
<%= link_to translated_attribute(topic.title), [:edit, topic] %> | <% if allowed_to? :update, :static_page_topic, topic: topic %> <%= icon_link_to "pencil-line", [:edit, topic], t("actions.edit", scope: "decidim.admin"), class: "action-icon--edit" %> <% end %> <% if allowed_to? :destroy, :static_page_topic, topic: topic %> <%= icon_link_to "delete-bin-line", topic, t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %> <% end %> |