mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 15:06:32 +02:00
linted
This commit is contained in:
parent
ddc98b6371
commit
f1ba7e9209
1 changed files with 8 additions and 6 deletions
|
@ -27,7 +27,7 @@ class OrganizationTypeForm(RegistrarForm):
|
|||
choices=DomainRequest.OrganizationChoicesVerbose.choices,
|
||||
widget=forms.RadioSelect,
|
||||
error_messages={"required": "Select the type of organization you represent."},
|
||||
label="What kind of U.S.-based government organization do you represent?"
|
||||
label="What kind of U.S.-based government organization do you represent?",
|
||||
)
|
||||
|
||||
|
||||
|
@ -84,7 +84,7 @@ class OrganizationElectionForm(RegistrarForm):
|
|||
(False, "No"),
|
||||
],
|
||||
),
|
||||
label="Is your organization an election office?"
|
||||
label="Is your organization an election office?",
|
||||
)
|
||||
|
||||
def clean_is_election_board(self):
|
||||
|
@ -229,8 +229,10 @@ class SeniorOfficialForm(RegistrarForm):
|
|||
email = forms.EmailField(
|
||||
label="Email",
|
||||
max_length=None,
|
||||
error_messages={"invalid": ("Enter an email address in the required format, like name@example.com."),
|
||||
"required": ("Enter an email address in the required format, like name@example.com.")},
|
||||
error_messages={
|
||||
"invalid": ("Enter an email address in the required format, like name@example.com."),
|
||||
"required": ("Enter an email address in the required format, like name@example.com."),
|
||||
},
|
||||
validators=[
|
||||
MaxLengthValidator(
|
||||
320,
|
||||
|
@ -444,7 +446,7 @@ class OtherContactsForm(RegistrarForm):
|
|||
message="Response must be less than 320 characters.",
|
||||
)
|
||||
],
|
||||
help_text="Enter an email address in the required format, like name@example.com."
|
||||
help_text="Enter an email address in the required format, like name@example.com.",
|
||||
)
|
||||
phone = PhoneNumberField(
|
||||
label="Phone",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue