<%= t('activerecord.models.users') %>

<%= render 'details/tab_admin_menu' %> <% @users.each do |user| %> <% end %>
<%= t 'authentication.name' %> <%= t 'activerecord.attributes.user.email' %> <%= t('question_mark_inverted') %><%= t('activerecord.attributes.user.admin') %><%= t('question_mark') %> <%= t('actions') %>
<%= link_to user.name, detail_path(user) %> <%= user.email %> <% unless user.admin? %> X <%= link_to t('authentication.enable_admin'), make_admin_user_path(user), class: 'btn btn-mini', method: :post %> <% else %> <%= link_to t('authentication.disable_admin'), remove_admin_user_path(user), class: 'btn btn-mini', method: :post %> <% end -%> <%= link_to t('edit'), edit_detail_path(user), class: 'btn btn-mini' %>
<%= render 'shared/admin_sidebar' %>