<% content_for :page_title do %> <%= Spree.t(:listing_users) %> <% end %> <% content_for :page_actions do %>
  • <%= button_link_to Spree.t(:new_user), new_admin_user_url, :icon => 'plus', :id => 'admin_new_user_link' %>
  • <% end %> <% @users.each do |user|%> <% end %>
    <%= sort_link @search,:email, Spree.t(:user), {}, {:title => 'users_email_title'} %>
    <%=link_to user.email, edit_admin_user_url(user) %> <%= link_to_edit user, :no_text => true %> <%= link_to_delete user, :no_text => true %>
    <%= paginate @users %> <% content_for :sidebar_title do %> <%= Spree.t(:search) %> <% end %> <% content_for :sidebar do %>
    <%= search_form_for [:admin, @search], url: admin_users_url do |f| %>
    <%= f.label :email_cont, Spree.t(:email) %>
    <%= f.text_field :email_cont, :class => 'fullwidth' %>
    <%= button Spree.t(:search), 'search' %>
    <% end %>
    <% end %>