<%= title [l(:label_user_plural), users_path], @user.login %>
<%= render_tabs user_settings_tabs %>

<% content_for :easy_page_layout_service_box_primary_actions do %>
  <%= render :partial => 'new_user_button' %>
<% end %>
<% content_for :easy_page_layout_service_box do %>
  <%= link_to(l(:label_profile), user_path(@user), :class => 'icon icon-user button-positive orange') %>
  <%= link_to(l(:button_delete), {:controller => 'users', :action => 'destroy', :id => @user}, :data => {:confirm => l(:text_are_you_sure)}, :method => :delete, :class => 'icon icon-del button') if User.current != @user && !@user.is_a?(AnonymousUser) %>
  <%= easy_change_status_link(@user, :additional_classes => 'button') unless @user.is_a?(AnonymousUser) %>
<% end %>
