2023-03-19 22:59:41 +01:00
|
|
|
% if (my $pager = stash("pager")) {
|
2023-03-17 20:58:12 +01:00
|
|
|
<footer>
|
|
|
|
<nav class="text-center">
|
|
|
|
<%= link_to "<<" => $pager->{first_page} if exists $pager->{first_page} %>
|
|
|
|
<%= link_to "<" => $pager->{previous_page} if exists $pager->{previous_page} %>
|
|
|
|
<span><%= $pager->{current_page} %></span>
|
|
|
|
<%= link_to ">" => $pager->{next_page} if exists $pager->{next_page} %>
|
|
|
|
<%= link_to ">>" => $pager->{last_page} if exists $pager->{last_page} %>
|
|
|
|
</nav>
|
|
|
|
</footer>
|
2023-03-19 22:59:41 +01:00
|
|
|
% }
|