mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-20 13:12:27 -04:00
Merge pull request #13 from lolylena/master
Text changes in register flow
This commit is contained in:
@@ -19,7 +19,7 @@ mobile_number = "^\\+44[\\d]{10}$"
|
||||
|
||||
|
||||
class RegisterUserForm(Form):
|
||||
name = StringField('Name',
|
||||
name = StringField('Full name',
|
||||
validators=[DataRequired(message='Name can not be empty')])
|
||||
email_address = StringField('Email address', validators=[
|
||||
Length(min=5, max=255),
|
||||
@@ -30,6 +30,6 @@ class RegisterUserForm(Form):
|
||||
mobile_number = StringField('Mobile phone number',
|
||||
validators=[DataRequired(message='Please enter your mobile number'),
|
||||
Regexp(regex=mobile_number, message='Please enter a +44 mobile number')])
|
||||
password = PasswordField('Password',
|
||||
password = PasswordField('Create a password',
|
||||
validators=[DataRequired(message='Please enter your password'),
|
||||
Length(10, 255, message='Password must be at least 10 characters')])
|
||||
|
||||
@@ -10,7 +10,7 @@ GOV.UK Notify
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-xlarge">Check your email address</h1>
|
||||
|
||||
<p>Check your email address is correct and resend a confirmation code.</p>
|
||||
<p>Check your email address is correct and then resend the confirmation code.</p>
|
||||
|
||||
<p>
|
||||
<label class="form-label" for="email">Email address</label>
|
||||
@@ -25,4 +25,4 @@ GOV.UK Notify
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -12,7 +12,7 @@ GOV.UK Notify | Create an account
|
||||
|
||||
<p>If you've used GOV.UK Notify before, <a href="">sign in to your account</a>.</p>
|
||||
|
||||
<p>You need to have access to your email account and a mobile phone to register.</p>
|
||||
<p>You need access to your email account and a mobile phone to register.</p>
|
||||
|
||||
<form autocomplete="off" action="" method="post">
|
||||
{{ form.hidden_tag() }}
|
||||
|
||||
@@ -10,7 +10,7 @@ GOV.UK Notify
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-xlarge">Check your mobile number</h1>
|
||||
|
||||
<p>Check your mobile phone number is correct and resend a confirmation code.</p>
|
||||
<p>Check your mobile phone number is correct and then resend the confirmation code.</p>
|
||||
|
||||
<p>
|
||||
<label class="form-label" for="mobile">Mobile phone number</label>
|
||||
@@ -24,4 +24,4 @@ GOV.UK Notify
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -8,10 +8,10 @@ GOV.UK Notify | Confirm email address and mobile number
|
||||
|
||||
<div class="grid-row">
|
||||
<div class="column-two-thirds">
|
||||
<h1 class="heading-xlarge">Confirm your email address and mobile number</h1>
|
||||
<h1 class="heading-xlarge">Activate your account</h1>
|
||||
|
||||
<p>You need to prove the contact details you gave us are yours.</p>
|
||||
<p>We've sent you an email and a text message containing confirmation codes.</p>
|
||||
<p>We've sent you confirmation codes by email and text message. You need to enter both codes here.</p>
|
||||
|
||||
<p>
|
||||
<label class="form-label" for="emailverify">Email confirmation code<br>
|
||||
|
||||
Reference in New Issue
Block a user