aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/alert
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/alert')
-rw-r--r--templates/web/base/alert/index.html4
-rw-r--r--templates/web/base/alert/updates.html2
2 files changed, 4 insertions, 2 deletions
diff --git a/templates/web/base/alert/index.html b/templates/web/base/alert/index.html
index 1442e6bdc..ca1b26e60 100644
--- a/templates/web/base/alert/index.html
+++ b/templates/web/base/alert/index.html
@@ -30,8 +30,10 @@ within a certain distance of a particular location.', "%s is the site name"), si
</p>
<form method="get" action="/alert/list" class="form-box js-geolocate">
<fieldset>
+ <label for="pc">[% loc('Postcode or street name and area') %]</label>
+ <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" name="pc" value="[% pc | html %]" placeholder="[% tprintf(loc('e.g. ‘%s’ or ‘%s’'), c.cobrand.example_places) %]">
+ <input class="form-control" type="text" name="pc" value="[% pc | html %]" aria-describedby="pc-hint">
<input class="green-btn" type="submit" value="[% loc('Go') %]">
</div>
</fieldset>
diff --git a/templates/web/base/alert/updates.html b/templates/web/base/alert/updates.html
index 82e99d49a..a77f8d0f9 100644
--- a/templates/web/base/alert/updates.html
+++ b/templates/web/base/alert/updates.html
@@ -19,7 +19,7 @@
<label class="hidden n" for="alert_rznvy">[% loc('Your email') %]</label>
<div class="form-txt-submit-box">
- <input class="form-control" type="email" name="rznvy" id="alert_rznvy" value="[% email | html %]" placeholder="[% loc('Your email') %]">
+ <input class="form-control" type="email" name="rznvy" id="alert_rznvy" value="[% email | html %]">
<input class="green-btn" type="submit" value="[% loc('Subscribe') %]">
</div>