    <% 
      if user_for_listing.sex == 'male'
        @user_sex = 'gender-man'
      elsif user_for_listing.sex == 'female'
        @user_sex = 'gender-woman'
      else
        @user_sex = 'gender-none'
      end
    %>
    <tr id="<%= dom_id user_for_listing %>">
      <td class="<%= @user_sex %>"></td>
      <td>
        <% user_for_listing.roles.each do |rf| %>
        <% @roledata = Role.find(rf.id) %>
        <span class="label label-info"><%= @roledata.title %></span>
        <% end %>
      </td>
      <td>
        <%= link_to (user_for_listing.name && user_for_listing.name != user_for_listing.email ? user_for_listing.name : user_for_listing.user_id),admin_users_new_interface_path(user_for_listing) %>
        <div class="quick-edit">
          <ul class="nav nav-pills">
            <%= content_tag(:li, link_to(t(:edit),edit_admin_users_new_interface_path(user_for_listing))) if is_admin? %>
            <%= content_tag(:li, link_to(t("users.setting_privilege"),admin_users_new_interface_edit_privilege_path(user_for_listing))) if is_admin? and current_user.id != user_for_listing.id %>
            <%= content_tag(:li, link_to(t(:delete_),admin_users_new_interface_path(user_for_listing, :at=>params[:at]), :confirm => t(:sure?), :method => :delete, :class=>"text-error", :remote => true)) if is_admin? %>
          </ul>
        </div>
      </td>
      <td><%= user_for_listing.email %></td>
    </tr>