aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-07-04 12:15:20 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-07-04 12:15:20 +0100
commitd8ff34ad5e57eae9faa2aaa909298fb4ffe26412 (patch)
treef703c9c150e4c748a90b9832d1fefc9b1e5fd38f
parentb7ea1827eda956e9eebb06b0d1d69600342bb961 (diff)
Variable key name.
-rw-r--r--templates/web/default/pagination.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/pagination.html b/templates/web/default/pagination.html
index d26f07ce3..f5a1192d1 100644
--- a/templates/web/default/pagination.html
+++ b/templates/web/default/pagination.html
@@ -1,7 +1,7 @@
[% IF pager.last_page > 1 %]
<p>
[% IF pager.previous_page %]
- <a href="[% c.req.uri_with({ param => pager.previous_page }) %]">&larr; Previous</a>
+ <a href="[% c.req.uri_with({ $param => pager.previous_page }) %]">&larr; Previous</a>
[% ELSE %]
&larr; Previous
[% END %]
@@ -9,7 +9,7 @@
[% pager.first %] to [% pager.last %] of [% pager.total_entries %]
|
[% IF pager.next_page %]
- <a href="[% c.req.uri_with({ param => pager.next_page }) %]">Next &rarr;</a>
+ <a href="[% c.req.uri_with({ $param => pager.next_page }) %]">Next &rarr;</a>
[% ELSE %]
Next &rarr;
[% END %]