<%= fa_icon("user") %> <%= Archangel.t(:index_resource, resource: @users.model_name.human.titleize) %>

<%= render "buttons" %>
<% if @users.present? %> <%= paginate @users %>
<% @users.each do |user| %> <% end %>
<%= Archangel.t(:avatar) %> <%= Archangel.t(:name) %> <%= Archangel.t(:username) %> <%= Archangel.t(:actions) %>
<%= image_tag(user.avatar.tiny.url, class: "img-center img-circle img-responsive", alt: user.username) %> <%= user.name %> <%= user.username %> <%= link_to(fa_icon("info-circle", text: Archangel.t(:show)), backend_user_path(user), class: "btn btn-info btn-sm") %> <%= link_to(fa_icon("check-circle", text: Archangel.t(:edit)), edit_backend_user_path(user), class: "btn btn-warning btn-sm") %> <%= link_to(fa_icon("times-circle", text: Archangel.t(:destroy)), backend_user_path(user), class: "btn btn-danger btn-sm", method: :delete, data: { confirm: Archangel.t(:are_you_sure) }) %>
<%= paginate @users %> <% else %>

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

<% end %>