aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base')
-rw-r--r--templates/web/base/alert/index.html2
-rw-r--r--templates/web/base/around/_postcode_submit_button.html6
-rw-r--r--templates/web/base/around/postcode_form.html2
3 files changed, 8 insertions, 2 deletions
diff --git a/templates/web/base/alert/index.html b/templates/web/base/alert/index.html
index 3c7ff9e8b..80186ded7 100644
--- a/templates/web/base/alert/index.html
+++ b/templates/web/base/alert/index.html
@@ -12,7 +12,7 @@
<p class="form-hint" id="pc-hint">[% tprintf(loc('e.g. ‘%s’ or ‘%s’'), c.cobrand.example_places) %]</p>
<div class="form-txt-submit-box">
<input class="form-control" type="text" id="pc" name="pc" value="[% pc | html %]" aria-describedby="pc-hint">
- <input class="green-btn" type="submit" value="[% loc('Go') %]">
+ [% INCLUDE 'around/_postcode_submit_button.html' attr='class="green-btn"' %]
</div>
</fieldset>
<a href="/alert/list" id="geolocate_link">&hellip; [% loc('or use my location') %]</a>
diff --git a/templates/web/base/around/_postcode_submit_button.html b/templates/web/base/around/_postcode_submit_button.html
new file mode 100644
index 000000000..faf4ea628
--- /dev/null
+++ b/templates/web/base/around/_postcode_submit_button.html
@@ -0,0 +1,6 @@
+<input type="submit" [% attr %] value="[%
+ IF c.cobrand.moniker == 'cheshireeast';
+ 'Search for location';
+ ELSE;
+ loc('Go');
+ END %]">
diff --git a/templates/web/base/around/postcode_form.html b/templates/web/base/around/postcode_form.html
index e3f03b203..ac83d4bf4 100644
--- a/templates/web/base/around/postcode_form.html
+++ b/templates/web/base/around/postcode_form.html
@@ -13,7 +13,7 @@
<p class="form-hint" id="pc-hint">[% tprintf(loc('e.g. ‘%s’ or ‘%s’'), c.cobrand.example_places) %]</p>
<div>
<input type="text" name="pc" value="[% pc | html %]" id="pc" size="10" maxlength="200" required aria-describedby="pc-hint">
- <input type="submit" value="[% loc('Go') %]" id="sub">
+ [% INCLUDE 'around/_postcode_submit_button.html' attr='id="sub"' %]
</div>
[% IF partial_token %]