<%= fa_icon("folder-open") %> <%= Archangel.t(:index_resource, resource: @collections.model_name.human.titleize) %>

<%= render "buttons" %>
<% if @collections.present? %> <%= paginate @collections %>
<% @collections.each do |collection| %> <% end %>
<%= Archangel.t(:name) %> <%= Archangel.t(:slug) %> <%= Archangel.t(:actions) %>
<%= collection.name %> <%= collection.slug %> <%= link_to(fa_icon("info-circle", text: Archangel.t(:show)), backend_collection_path(collection), class: "btn btn-info btn-sm") %> <%= link_to(fa_icon("check-circle", text: Archangel.t(:edit)), edit_backend_collection_path(collection), class: "btn btn-warning btn-sm") %> <%= link_to(fa_icon("times-circle", text: Archangel.t(:destroy)), backend_collection_path(collection), class: "btn btn-danger btn-sm", method: :delete, data: { confirm: Archangel.t(:are_you_sure) }) %>
<%= paginate @collections %> <% else %>

<%= Archangel.t(:no_resources, resources: @collections.model_name.human.pluralize.downcase) %>

<% end %>