diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 11:57:21 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-05-26 11:57:21 +0100 |
commit | a04abdebaf280cbfbad65fabb2c64d88f9e3d72c (patch) | |
tree | 0adcfeb9a4e11737417eee488038b7894c9f50c2 /templates/web/default/questionnaire | |
parent | 45f6e7e798b203df12938c4b06976fa310173093 (diff) |
Get header JS <script> out of code and into templates.
Diffstat (limited to 'templates/web/default/questionnaire')
-rw-r--r-- | templates/web/default/questionnaire/index.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/templates/web/default/questionnaire/index.html b/templates/web/default/questionnaire/index.html index dd811394c..f0e65de4d 100644 --- a/templates/web/default/questionnaire/index.html +++ b/templates/web/default/questionnaire/index.html @@ -1,8 +1,10 @@ -[% INCLUDE 'header.html', title = loc('Questionnaire') %] +[% + pre_map = INCLUDE 'report/_main.html'; + PROCESS "maps/${map.type}.html"; + INCLUDE 'header.html', title = loc('Questionnaire') +%] -[% pre_map = INCLUDE 'report/_main.html' %] - -[% INCLUDE "maps/${map.type}.html" %] +[% map_html %] [% INCLUDE 'report/updates.html' %] |