<%= toolbar( :buttons => [ { :icon => 'user_add', :label => _t('create_user'), :url => alchemy.new_admin_user_path, :title => _t('create_user'), :overlay_options => { :title => _t('create_user'), :size => "420x560" }, :if_permitted_to => [:new, :alchemy_admin_users] } ] ) %>
<% if @users.any? %> <%= render :partial => 'alchemy/admin/users/user', :collection => @users %>
<%= Alchemy::User.human_attribute_name('firstname') %> <%= Alchemy::User.human_attribute_name('lastname') %> <%= Alchemy::User.human_attribute_name('language') %> <%= Alchemy::User.human_attribute_name('last_login_at') %> <%= Alchemy::User.human_attribute_name('role') %>
<%= paginate @users %> <% elsif params[:query] %>
<%= render_icon('info') %> <%= _t('No users found') %>
<% end %>