From be49fb73b02c3b892c05ff0cf0f850cc6c02928a Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 7 Apr 2016 14:12:40 +0100 Subject: [PATCH] Change wording of form hints on register page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We’ve seen in research that people can be reticent to give their real phone number. Telling them that it will be used for something should help (ie we’re not just collecting it for marketing). This also rewords the other form hints on this page to be less computery because we haven’t looked at them in aaaages. --- app/main/forms.py | 4 ++-- app/templates/views/register.html | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/main/forms.py b/app/main/forms.py index 9d400470b..e2d3ce391 100644 --- a/app/main/forms.py +++ b/app/main/forms.py @@ -36,11 +36,11 @@ class UKMobileNumber(TelField): def mobile_number(): - return UKMobileNumber('Mobile phone number', + return UKMobileNumber('Mobile number', validators=[DataRequired(message='Can’t be empty')]) -def password(label='Create a password'): +def password(label='Password'): return PasswordField(label, validators=[DataRequired(message='Can’t be empty'), Length(10, 255, message='Must be at least 10 characters'), diff --git a/app/templates/views/register.html b/app/templates/views/register.html index e8bdf7786..40c1ec82b 100644 --- a/app/templates/views/register.html +++ b/app/templates/views/register.html @@ -12,13 +12,13 @@ Create an account – GOV.UK Notify

Create an account

-

If you’ve used GOV.UK Notify before, sign in to your account.

+

If you’ve used GOV.UK Notify before, sign in to your account

{{ textbox(form.name, width='3-4') }} - {{ textbox(form.email_address, hint="You must use an email address from a central government organisation", width='3-4', safe_error_message=True) }} - {{ textbox(form.mobile_number, width='3-4') }} - {{ textbox(form.password, hint="Your password must have at least 10 characters", width='3-4') }} + {{ textbox(form.email_address, hint="Must be from a central government organisation", width='3-4', safe_error_message=True) }} + {{ textbox(form.mobile_number, width='3-4', hint='You’ll need this phone to hand') }} + {{ textbox(form.password, hint="At least 10 characters", width='3-4') }} {{ page_footer("Continue") }}