aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/default
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/default')
-rw-r--r--templates/web/default/maps/openlayers.html2
-rw-r--r--templates/web/default/report/new/category.html13
-rw-r--r--templates/web/default/report/new/councils_text.html3
3 files changed, 10 insertions, 8 deletions
diff --git a/templates/web/default/maps/openlayers.html b/templates/web/default/maps/openlayers.html
index b84799fdd..3cf615306 100644
--- a/templates/web/default/maps/openlayers.html
+++ b/templates/web/default/maps/openlayers.html
@@ -9,7 +9,7 @@
var fixmystreet = {
'page': '[% page %]',
'area': '[% map.area %]',
- 'all_pins': [% all_pins || "''" | html %],
+ 'all_pins': '[% all_pins %]',
'latitude': [% map.latitude %],
'longitude': [% map.longitude %],
[% IF map.any_zoom -%]
diff --git a/templates/web/default/report/new/category.html b/templates/web/default/report/new/category.html
index 3db776f1a..6ec0eb19f 100644
--- a/templates/web/default/report/new/category.html
+++ b/templates/web/default/report/new/category.html
@@ -1,9 +1,10 @@
+[% FILTER collapse %]
[% IF category_options.size %]
- <label for="form_category">[% category_label | html %]</label>
- <select name="category" id="form_category">
- [%- FOREACH cat_op IN category_options %]
- <option value="[% cat_op | html %]"[% ' selected' IF report.category == cat_op %]>[% cat_op | html %]</option>
- [%- END %]
+ <label for='form_category'>[% category_label | html %]</label>
+ <select name='category' id='form_category'>
+ [% FOREACH cat_op IN category_options %]
+ <option value='[% cat_op | html %]'[% ' selected' IF report.category == cat_op %]>[% cat_op | html %]</option>
+ [% END %]
</select>
[% END %]
-
+[% END -%]
diff --git a/templates/web/default/report/new/councils_text.html b/templates/web/default/report/new/councils_text.html
index d463f399f..1da5746c1 100644
--- a/templates/web/default/report/new/councils_text.html
+++ b/templates/web/default/report/new/councils_text.html
@@ -1,3 +1,4 @@
+[% FILTER collapse %]
[% IF area_ids_to_list.size == 0 %]
[% PROCESS 'report/new/councils_text_none.html' %]
[% ELSIF area_ids_to_list.size == all_councils.size %]
@@ -5,4 +6,4 @@
[% ELSE %]
[% PROCESS 'report/new/councils_text_some.html' %]
[% END %]
-
+[% END -%]