Module: Pagination::CurrentPageDescriptionForHelper
Instance Method Summary
collapse
#pagination_total_pages_for
#pagination_page_size_for
#pagination_record_size_for
#pagination_current_page_for
Instance Method Details
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/action_set/helpers/pagination/current_page_description_for_helper.rb', line 11
def (set)
description = [
'Page',
"<strong>#{(set)}</strong>",
'of',
"<strong>#{(set)}</strong>"
].join(' ').html_safe
content_tag(:span,
description,
class: 'page-current')
end
|