% if !@disable_select_all %>
<%= check_box_tag 'check_all', 'yes', @all_checked, :disabled => ((@batch_size_on_other_page + @document_list.count) > @max_batch_size) %>
Select None
Select Only Current Page
<% if @result_set_size <= @max_batch_size %>
Select
All
Results
<% else %>
Result Set Too Big For Select All (><%=@max_batch_size%>)
<% end %>
<% end %>