<%= l('first') . ' ' . l 'page' %>\ <%= l('previous') . ' ' . l 'page' %> %= 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 <%= l('next') . ' ' . l 'page' %> \ <%= l('last') . ' ' . l('page') %>