aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/base/around/_postcode_form_examples.html1
-rw-r--r--templates/web/base/around/postcode_form.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/web/base/around/_postcode_form_examples.html b/templates/web/base/around/_postcode_form_examples.html
new file mode 100644
index 000000000..975d33927
--- /dev/null
+++ b/templates/web/base/around/_postcode_form_examples.html
@@ -0,0 +1 @@
+<p class="form-hint" id="pc-hint">[% tprintf(loc('e.g. ‘%s’ or ‘%s’'), c.cobrand.example_places) %]</p>
diff --git a/templates/web/base/around/postcode_form.html b/templates/web/base/around/postcode_form.html
index ac83d4bf4..7d0130018 100644
--- a/templates/web/base/around/postcode_form.html
+++ b/templates/web/base/around/postcode_form.html
@@ -10,7 +10,7 @@
<form action="[% c.uri_for('/around') %]" method="get" name="postcodeForm" id="postcodeForm" class="js-geolocate">
<label for="pc">[% question %]:</label>
- <p class="form-hint" id="pc-hint">[% tprintf(loc('e.g. ‘%s’ or ‘%s’'), c.cobrand.example_places) %]</p>
+ [% INCLUDE 'around/_postcode_form_examples.html' %]
<div>
<input type="text" name="pc" value="[% pc | html %]" id="pc" size="10" maxlength="200" required aria-describedby="pc-hint">
[% INCLUDE 'around/_postcode_submit_button.html' attr='id="sub"' %]