From d32477f82bca6042ddccd6bbce1cc804927a89a9 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 27 Feb 2023 15:30:42 +0100 Subject: Separate name space for pagination --- templates/headers/_pagination2.html.ep | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'templates/headers/_pagination2.html.ep') diff --git a/templates/headers/_pagination2.html.ep b/templates/headers/_pagination2.html.ep index 63e8f63..eef2abe 100644 --- a/templates/headers/_pagination2.html.ep +++ b/templates/headers/_pagination2.html.ep @@ -1,12 +1,12 @@
%= form_for '' => (class => 'pure-form') => begin - <%= l('first') . ' ' . l 'page' %> - <%= l('previous') . ' ' . l 'page' %> + <%= l('first') . ' ' . l 'page' %> + <%= l('previous') . ' ' . l 'page' %> [ %= label_for custompage => ucfirst l 'page' - %= number_field start => (id => 'custompage') => (size => 3) => (placeholder => $current_page+1) + %= number_field start => (id => 'custompage') => (size => 3) => (placeholder => $pgn->{current_page}+1) %= l 'of' - %= $total_pages + %= $pgn->{total_pages} ] % my $h = $c->req->query_params->to_hash; @@ -16,7 +16,7 @@ % } % } - <%= l('next') . ' ' . l 'page' %> - <%= l('last') . ' ' . l('page') %> + <%= l('next') . ' ' . l 'page' %> + <%= l('last') . ' ' . l('page') %> % end
-- cgit v1.2.3