.action_menu
  .action_menu_header
    .action_menu_header_left
      %ul.menu
        %li.menu=link_to 'Account Report', users_account_report_url
      = form_tag url_for(:action => "index", :page => session[:page] || 1 ), :method => 'get' do
        = content_tag :label do
          = text_field_tag :search, params[:search], :size => 25
        %input{ :type => "submit", :value => "Search"}
      - if @users
        %p= page_entries_info @users
      %p.paginator
        = will_paginate @users
    .action_menu_header_right
      %ul.menu
        %li= toggle_all 'user descriptions'
.item_collection
  %ul.quiet_list
    = render :partial => 'user', :collection => @users

.action_menu
  .action_menu_header
    .action_menu_header_left
      %ul.menu
        %li.menu=link_to 'Account Report', users_account_report_url
    .action_menu_header_right
      %ul.menu
        %li= toggle_all 'user descriptions'
    %div{ :style => "clear: both; margin-bottom: 20px;"}
      = form_tag url_for(:action => "index", :page => session[:page] || 1 ), :method => 'get' do
        = content_tag :label do
          = text_field_tag :search, params[:search], :style => "width: 97%;"
        %div{ :style => "clear: both; margin-bottom: 10px; width: 100%;" }
          = content_tag :label do
            = check_box_tag 'project_researcher', 1, params[:project_researcher] == '1' ? true : false
            Project Researcher
          = content_tag :label do
            = check_box_tag 'project_admin', 1, params[:project_admin] == '1' ? true : false
            Project Admin
          = content_tag :label do
            = check_box_tag 'portal_admin', 1, params[:portal_admin] == '1' ? true : false
            Portal Admin
        %input{ :type => "submit", :value => "Search"}
    - if @users
      %p= page_entries_info @users
    %p.paginator
      = will_paginate @users
.item_collection
  %ul.quiet_list
    = render :partial => 'user', :collection => @users

Add checkboxes to user search form.
Add checkboxes to user search form.

