<%= 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') }, :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('role') %>
<%= paginate @users %> <%- elsif params[:query] -%>
<%= render_icon('info') %> <%= t('No users found') %>
<%- end -%>