<%= t "decidim.admin.titles.translations" %>
<% if allowed_to? :create, :translation %> <%= link_to t("actions.add_multiple_translations", scope: "decidim.admin"), translation_set_add_translations_path(set), class: "button tiny button--simple" %> <%= link_to t("actions.new_translation", scope: "decidim.admin"), new_translation_set_translation_path(set), class: "button tiny button--simple" %> <% end %>

<% @translations.each do |translation| %> <% end %>
<%= t("models.translations.fields.key", scope: "decidim.admin") %> <%= t("models.translations.fields.original_term", scope: "decidim.admin") %> <%= t("models.translations.fields.term", scope: "decidim.admin") %>
<%= 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 %>