<%= form_tag({}, data: {cm_url: users_context_menu_path}) do -%> <%= hidden_field_tag 'back_url', url_for(params: request.query_parameters), id: nil %>
<% @query.inline_columns.each do |column| %> <%= column_header(@query, column) %> <% end %> <% grouped_query_results(users, @query) do |user, group_name, group_count, group_totals| -%> <% if group_name %> <% reset_cycle %> <% end %> hascontextmenu"> <% @query.inline_columns.each do |column| %> <% if column.name == :login %> <%= content_tag('td', link_to(user.login, edit_user_path(user)), class: column.css_classes) %> <% else %> <%= content_tag('td', column_content(column, user), class: column.css_classes) %> <% end %> <% end %> <% @query.block_columns.each do |column| if (text = column_content(column, issue)) && text.present? -%> <% end -%> <% end -%> <% end -%>
<%= check_box_tag 'check_all', '', false, :class => 'toggle-selection', :title => "#{l(:button_check_all)} / #{l(:button_uncheck_all)}" %>
<%= sprite_icon("angle-down") %> <%= group_name %> <% if group_count %> <%= group_count %> <% end %> <%= group_totals %> <%= link_to_function("#{l(:button_collapse_all)}/#{l(:button_expand_all)}", "toggleAllRowGroups(this)", :class => 'toggle-all') %>
<%= check_box_tag("ids[]", user.id, false, id: nil) %> <%= link_to_context_menu %>
<% if query.block_columns.count > 1 %> <%= column.caption %> <% end %> <%= text %>
<% end -%> <%= context_menu %>