aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-08-17 17:44:04 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-08-17 17:44:04 +0100
commit6592b1b101593b2b14a127380c6635fb2f84222a (patch)
tree5bb2e62bfe450635e7d77889153d855a2c5b886d
parent4d297c9b76a9bfaf8ad3f0651bfa6d470057015d (diff)
Use PROCESS rather than INCLUDE, so question variable set in parent.
-rw-r--r--templates/web/default/index.html2
-rw-r--r--templates/web/fixmystreet/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/index.html b/templates/web/default/index.html
index b3ca36e8c..159a595bc 100644
--- a/templates/web/default/index.html
+++ b/templates/web/default/index.html
@@ -21,7 +21,7 @@
[% TRY %][% INCLUDE 'front/news.html' %][% CATCH file %][% END %]
-[% INCLUDE 'around/postcode_form.html' %]
+[% PROCESS 'around/postcode_form.html' %]
<div id="front_intro">
diff --git a/templates/web/fixmystreet/index.html b/templates/web/fixmystreet/index.html
index 5849977fc..492adbbe5 100644
--- a/templates/web/fixmystreet/index.html
+++ b/templates/web/fixmystreet/index.html
@@ -16,7 +16,7 @@ Modernizr.load({
</script>
[% END %]
-[% pre_container_extra = INCLUDE 'around/postcode_form.html' %]
+[% pre_container_extra = PROCESS 'around/postcode_form.html' %]
[% INCLUDE 'header.html', title = '', bodyclass = 'frontpage fullwidthpage' %]
[% IF error %]