mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
Change wording of form hints on register page
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.
This commit is contained in:
@@ -36,11 +36,11 @@ class UKMobileNumber(TelField):
|
|||||||
|
|
||||||
|
|
||||||
def mobile_number():
|
def mobile_number():
|
||||||
return UKMobileNumber('Mobile phone number',
|
return UKMobileNumber('Mobile number',
|
||||||
validators=[DataRequired(message='Can’t be empty')])
|
validators=[DataRequired(message='Can’t be empty')])
|
||||||
|
|
||||||
|
|
||||||
def password(label='Create a password'):
|
def password(label='Password'):
|
||||||
return PasswordField(label,
|
return PasswordField(label,
|
||||||
validators=[DataRequired(message='Can’t be empty'),
|
validators=[DataRequired(message='Can’t be empty'),
|
||||||
Length(10, 255, message='Must be at least 10 characters'),
|
Length(10, 255, message='Must be at least 10 characters'),
|
||||||
|
|||||||
@@ -12,13 +12,13 @@ Create an account – GOV.UK Notify
|
|||||||
<div class="column-two-thirds">
|
<div class="column-two-thirds">
|
||||||
<h1 class="heading-large">Create an account</h1>
|
<h1 class="heading-large">Create an account</h1>
|
||||||
|
|
||||||
<p>If you’ve used GOV.UK Notify before, <a href="{{ url_for('.sign_in') }}">sign in to your account</a>.</p>
|
<p>If you’ve used GOV.UK Notify before, <a href="{{ url_for('.sign_in') }}">sign in to your account</a></p>
|
||||||
|
|
||||||
<form method="post" autocomplete="nope">
|
<form method="post" autocomplete="nope">
|
||||||
{{ textbox(form.name, width='3-4') }}
|
{{ 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.email_address, hint="Must be from a central government organisation", width='3-4', safe_error_message=True) }}
|
||||||
{{ textbox(form.mobile_number, width='3-4') }}
|
{{ textbox(form.mobile_number, width='3-4', hint='You’ll need this phone to hand') }}
|
||||||
{{ textbox(form.password, hint="Your password must have at least 10 characters", width='3-4') }}
|
{{ textbox(form.password, hint="At least 10 characters", width='3-4') }}
|
||||||
{{ page_footer("Continue") }}
|
{{ page_footer("Continue") }}
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user