summaryrefslogtreecommitdiff
path: root/templates/_pagination2.html.ep
diff options
context:
space:
mode:
Diffstat (limited to 'templates/_pagination2.html.ep')
-rw-r--r--templates/_pagination2.html.ep22
1 files changed, 0 insertions, 22 deletions
diff --git a/templates/_pagination2.html.ep b/templates/_pagination2.html.ep
deleted file mode 100644
index e03dbb0..0000000
--- a/templates/_pagination2.html.ep
+++ /dev/null
@@ -1,22 +0,0 @@
-<a href="<%= url_with->query({start => $first_page->[0]-1}) %>"> <img src="/first.gif" alt="<%= l('first') . ' ' . l 'page' %>"></a>\
-<a href="<%= url_with->query({start => $prev_page->[0]-1}) %>"> <img src="/left.gif" alt="<%= l('previous') . ' ' . l 'page' %>"> </a>
-
-%= form_for '' => begin
- [
- %= label_for custompage => ucfirst l 'page'
- %= number_field start => (id => 'custompage') => (size => 3) => (placeholder => $current_page)
- %= l 'of'
- %= $total_pages
- ]
-
-% my $h = $c->req->query_params->to_hash;
-% while (my ($k, $v) = each %$h) {
-% if ($k ne 'start') {
- %= hidden_field $k => $v
-% }
-% }
-
-% end
-
-<a href="<%= url_with->query({start => $next_page->[0]-1}) %>"> <img src="/right.gif" alt="<%= l('next') . ' ' . l 'page' %>"> </a>\
-<a href="<%= url_with->query({start => $last_page->[0]-1}) %>"> <img src="/last.gif" alt="<%= l('last') . ' ' . l('page') %>"> </a>