<%= t("listing_users") %>

<%= hook :admin_users_index_headers do %> <% end %> <% @users.each do |user|%> <%- locals = {:user => user} %> <%= hook :admin_users_index_rows, locals do %> <% end %> <% end %>
<%= sort_link @search,:email,t("user"),{}, {:title => 'users_email_title'} %> <%= hook :admin_users_index_header_actions %>
<%=link_to user.email, object_url(user) %> <%= hook :admin_users_index_row_actions, locals do %> <%= link_to_edit user, :class => "edit" %>   <%= link_to_delete user %> <% end %>
<%= will_paginate(:previous_label => "« #{t('previous')}", :next_label => "#{t('next')} »") %> <% content_for :sidebar do %>

<%= t(:search) %>

<% @search = User.search %> <%= form_for [:admin, @search] do |f| %> <%- locals = {:f => f} %> <%= hook :admin_users_index_search, locals do %>

<%= t("email") %>
<%= f.text_field :email_contains, :size=>18 %>

<% end %> <%= hook :admin_users_index_search_buttons, locals do %>

<%= button t("search") %>

<% end %> <% end %>
<% end %>