<% if @authorizations.any? %>
<% @authorizations.each do |authorization| %>
<%= icon "lock-unlocked", class: "card--list__icon" %>
<%= t("#{authorization.name}.name", scope: "decidim.authorization_handlers") %>
<%= l(authorization.updated_at, format: :long) %>
<%= link_to new_authorization_path(handler: authorization.name), class: "card--list__data__icon" do %> <%= icon "reload" %> <% end %>
<% end %>
<% end %> <% if handlers.any? %>
<% handlers.each do |handler| %>
<%= icon "lock-locked", class: "card--list__icon" %>
<%= link_to t("#{handler.handler_name}.name", scope: "decidim.authorization_handlers"), new_authorization_path(handler: handler.handler_name) %>
<%= link_to new_authorization_path(handler: handler.handler_name), class: "card--list__data__icon" do %> <%= icon "chevron-right" %> <% end %>
<% end %>
<% end %>