<%= render partial: 'roroacms/admin/partials/table_header', locals: {path: new_admin_administrator_path, name: t("generic.add_new_user"), id: 'add_new_user'} %> <% @admins.each do |admin| %> <% end %>
  <%= t("views.admin.administrators.index.username") %>  
<% if admin.avatar.blank? %> <%= image_tag 'roroacms/default-profile.jpg', height: '35', width: '35', class: "img-circle hidden-xs" %> <% else %>   <% end %> <%= admin.username %> <% if admin.overlord != 'Y' || (admin.id.to_i == session[:admin_id].to_i) %>
<%= link_to edit_admin_administrator_path(admin), :class => 'btn btn-default btn-xs' do %> <% end %> <% if admin.overlord != 'Y' %> <%= link_to admin_administrator_path(admin), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-danger btn-xs' do %> <% end %> <% end %>
<% end %>