mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Mr/text updates (#444)
* Updated error message text * Updated field labels, intro text * Tidy up thank you page * Removed reference to managing a domain * Update test language to match form language * Fix linting error (hopefully) * Fix linting and tests --------- Co-authored-by: Neil Martinsen-Burrell <neil.martinsen-burrell@gsa.gov>
This commit is contained in:
parent
96c73471e4
commit
3cd3869c93
5 changed files with 27 additions and 14 deletions
|
@ -226,8 +226,10 @@ class OrganizationElectionForm(RegistrarForm):
|
|||
is_election_board = self.cleaned_data["is_election_board"]
|
||||
if is_election_board is None:
|
||||
raise forms.ValidationError(
|
||||
"Select “Yes” if you represent an election office. Select “No” if you"
|
||||
" don’t.",
|
||||
(
|
||||
"Select “Yes” if you represent an election office. Select “No” if"
|
||||
" you don’t."
|
||||
),
|
||||
code="required",
|
||||
)
|
||||
return is_election_board
|
||||
|
@ -399,6 +401,12 @@ class CurrentSitesForm(RegistrarForm):
|
|||
website = forms.URLField(
|
||||
required=False,
|
||||
label="Public website",
|
||||
error_messages={
|
||||
"invalid": (
|
||||
"Enter your organization's website in the required format, like"
|
||||
" www.city.com."
|
||||
)
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
|
@ -676,7 +684,7 @@ class NoOtherContactsForm(RegistrarForm):
|
|||
# label has to end in a space to get the label_suffix to show
|
||||
label=(
|
||||
"Please explain why there are no other employees from your organization"
|
||||
" that we can contact."
|
||||
" we can contact to help us assess your eligibility for a .gov domain."
|
||||
),
|
||||
widget=forms.Textarea(),
|
||||
)
|
||||
|
@ -692,7 +700,7 @@ class AnythingElseForm(RegistrarForm):
|
|||
|
||||
class RequirementsForm(RegistrarForm):
|
||||
is_policy_acknowledged = forms.BooleanField(
|
||||
label=("I read and agree to the requirements for operating .gov domains."),
|
||||
label="I read and agree to the requirements for operating .gov domains.",
|
||||
error_messages={
|
||||
"required": (
|
||||
"Check the box if you read and agree to the requirements for"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue