<%= translation.key %>
|
<%= @directory.translations.term(translation.key) %>
|
<%= translation.value %>
|
<% if allowed_to? :update, :translation, translation: translation %>
<%= icon_link_to "pencil", edit_translation_set_translation_path(set, translation), t("actions.configure", scope: "decidim.admin"), class: "action-icon--new" %>
<% end %>
<% if allowed_to? :destroy, :translation, translation: translation %>
<%= icon_link_to "circle-x", translation_set_translation_path(set, translation), t("actions.destroy", scope: "decidim.admin"), method: :delete, class: "action-icon--remove", data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %>
<% end %>
|
<% end %>