% add_decidim_page_title(t("decidim.admin.titles.assemblies_types")) %>
<%= t("models.assemblies_types.fields.title", scope: "decidim.admin") %> | <%= t("models.assemblies_types.fields.created_at", scope: "decidim.admin") %> | |
---|---|---|
<% if allowed_to? :update, :assembly_type, assembly_type: assembly_type %> <%= link_to translated_attribute(assembly_type.title), edit_assemblies_type_path(assembly_type) %> <% else %> <%= translated_attribute assembly_type.title %> | <% end %><%= l assembly_type.created_at, format: :short %> | <% if allowed_to? :update, :assembly_type, assembly_type: assembly_type %> <%= icon_link_to "pencil", edit_assemblies_type_path(assembly_type), t("actions.edit", scope: "decidim.admin"), class: "action-icon--new" %> <% end %> <% if allowed_to? :destroy, :assembly_type, assembly_type: assembly_type %> <%= icon_link_to "circle-x", assemblies_type_path(assembly_type), t("actions.destroy", scope: "decidim.admin"), class: "action-icon--remove", method: :delete, data: { confirm: t("actions.confirm_destroy", scope: "decidim.admin") } %> <% end %> | <% end %>