aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/web/default/around/around_index.html2
-rw-r--r--templates/web/default/around/location_error.html1
-rw-r--r--templates/web/fixmystreet/around/around_index.html2
-rw-r--r--templates/web/fixmystreet/around/location_error.html1
4 files changed, 4 insertions, 2 deletions
diff --git a/templates/web/default/around/around_index.html b/templates/web/default/around/around_index.html
index a143e90a2..087abf65f 100644
--- a/templates/web/default/around/around_index.html
+++ b/templates/web/default/around/around_index.html
@@ -6,7 +6,7 @@
[% INCLUDE 'around/postcode_form.html' %]
[% IF location_error %]
- <p class="error">[% location_error %]</p>
+ [% INCLUDE 'around/location_error.html' %]
[% END %]
[% IF possible_location_matches %]
diff --git a/templates/web/default/around/location_error.html b/templates/web/default/around/location_error.html
new file mode 100644
index 000000000..9b907b64b
--- /dev/null
+++ b/templates/web/default/around/location_error.html
@@ -0,0 +1 @@
+<p class="error">[% location_error %]</p>
diff --git a/templates/web/fixmystreet/around/around_index.html b/templates/web/fixmystreet/around/around_index.html
index c547b7ba9..0d9d35171 100644
--- a/templates/web/fixmystreet/around/around_index.html
+++ b/templates/web/fixmystreet/around/around_index.html
@@ -9,7 +9,7 @@
%]
[% IF location_error %]
- <p class="form-error">[% location_error %]</p>
+ [% INCLUDE 'around/location_error.html' %]
[% END %]
[% IF possible_location_matches %]
diff --git a/templates/web/fixmystreet/around/location_error.html b/templates/web/fixmystreet/around/location_error.html
new file mode 100644
index 000000000..fc9b2b8ce
--- /dev/null
+++ b/templates/web/fixmystreet/around/location_error.html
@@ -0,0 +1 @@
+<p class="form-error">[% location_error %]</p>