aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-04-05 11:10:07 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-04-06 15:43:23 +0100
commit3afcf336344d548558242f153f4966d602e9b49f (patch)
treee9bc4531f5bc7c2b945fff9b78358144819bd83c
parentbe55b3690d50cd84de0088b9d91d29e8a2e146ed (diff)
Revert to put phone number back.
-rw-r--r--templates/web/bromley/report/new/fill_in_details_form.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/templates/web/bromley/report/new/fill_in_details_form.html b/templates/web/bromley/report/new/fill_in_details_form.html
index 80ee11dd0..5729f1637 100644
--- a/templates/web/bromley/report/new/fill_in_details_form.html
+++ b/templates/web/bromley/report/new/fill_in_details_form.html
@@ -134,10 +134,11 @@
</div>
<div class="general-sidebar-notes">
- <p>[% loc('We never show your email address.') %]</p>
+ <p>[% loc('We never show your email address or phone number.') %]</p>
</div>
- <input type="hidden" value="" name="phone">
+ <label for="form_phone">[% loc('Phone number (optional)') %]</label>
+ <input class="" type="text" value="[% report.user.phone | html %]" name="phone" id="form_phone" placeholder="[% loc('Your phone number') %]">
<div class="form-txt-submit-box">
<input class="green-btn" type="submit" id="submit_register" name="submit_register" value="[% loc('Submit') %]">
@@ -179,12 +180,13 @@
</div>
<div class="general-sidebar-notes form-focus-hidden">
- <p class="dark">[% loc('We never show your email address.') %]</p>
+ <p class="dark">[% loc('We never show your email address or phone number.') %]</p>
<p>[% loc('Providing a password is optional, but doing so will allow you to more easily report problems, leave updates and manage your reports.') %]</p>
</div>
- <input type="hidden" value="" name="phone">
-
+ <label class="form-focus-hidden" for="form_phone">[% loc('Phone number (optional)') %]</label>
+ <input class="form-focus-hidden" type="text" value="[% report.user.phone | html %]" name="phone" id="form_phone" placeholder="[% loc('Your phone number') %]">
+
<label class="form-focus-hidden" for="password_register">[% loc('Password (optional)') %]</label>
<div class="form-txt-submit-box form-focus-hidden">