diff options
-rw-r--r-- | app/helpers/members_helper.rb | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb index eef03218c..9fa2ec370 100644 --- a/app/helpers/members_helper.rb +++ b/app/helpers/members_helper.rb @@ -29,10 +29,18 @@ module MembersHelper :class => 'objects-selection' ) - links = pagination_links_full(principal_pages, principal_count, :per_page_links => false) {|text, parameters, options| - link_to text, autocomplete_project_memberships_path(project, parameters.merge(:q => params[:q], :format => 'js')), :remote => true - } - + links = + pagination_links_full(principal_pages, + principal_count, + :per_page_links => false) {|text, parameters, options| + link_to( + text, + autocomplete_project_memberships_path( + project, + parameters.merge(:q => params[:q], :format => 'js') + ), + :remote => true) + } s + content_tag('span', links, :class => 'pagination') end |