content_tag('div', principals_check_box_tags('user_ids[]', principals), :id => 'principals'),
:class => 'objects-selection'
)
- links = pagination_links_full(principal_pages, principal_count, :per_page_links => false) {|text, parameters, options|
- link_to text, autocomplete_for_user_group_path(group, parameters.merge(:q => params[:q], :format => 'js')), :remote => true
- }
+ links =
+ pagination_links_full(principal_pages, principal_count,
+ :per_page_links => false) do |text, parameters, options|
+ link_to(
+ text,
+ autocomplete_for_user_group_path(
+ group,
+ parameters.merge(:q => params[:q], :format => 'js')
+ ),
+ :remote => true
+ )
+ end
s + content_tag('span', links, :class => 'pagination')
end
end