Sha256: 4bfdbf61baef9daab3706637076d59e2d69ac0c6fa648beeb7faf7b26ecb075d
Contents?: true
Size: 805 Bytes
Versions: 95
Compression:
Stored size: 805 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 -%> <% if current_page.first? %> <li class="page-item disabled"> <%= link_to raw(t 'views.pagination.previous'), '#', :rel => 'prev', :onclick=>'return false;', class: 'page-link', aria: { label: t('views.pagination.aria.go_to_previous_page') } %> </li> <% else %> <li class="page-item"> <%= link_to raw(t 'views.pagination.previous'), url, :rel => 'prev', :remote => remote, class: 'page-link', aria: { label: t('views.pagination.aria.go_to_previous_page') } %> </li> <% end %>
Version data entries
95 entries across 94 versions & 2 rubygems