module Pagination::CurrentPageDescriptionForHelper
Public Instance Methods
pagination_current_page_description_for(set)
click to toggle source
# File lib/action_set/helpers/pagination/current_page_description_for_helper.rb, line 11 def pagination_current_page_description_for(set) description = [ 'Page', "<strong>#{pagination_current_page_for(set)}</strong>", 'of', "<strong>#{pagination_total_pages_for(set)}</strong>" ].join(' ').html_safe content_tag(:span, description, class: 'page-current') end