%= form_for '' => (class => 'pure-form') => 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