Sha256: ef38706c4e8136035c011373485c991395db496964610792c84b64297d3bc9c7
Contents?: true
Size: 542 Bytes
Versions: 6
Compression:
Stored size: 542 Bytes
Contents
-# Link to the "Previous" page - available local variables url: url to the previous page current_page: a page object for the currently displayed page num_pages: total number of pages per_page: number of items to fetch per page remote: data-remote - %li{:class => 'prev' + (current_page.first? ? ' active' : '')} - if current_page.first? %a= raw(t 'views.pagination.previous') - else = link_to raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote
Version data entries
6 entries across 6 versions & 2 rubygems