Merge branch 'main' into dk/1571-contact-patches

This commit is contained in:
David Kennedy 2024-01-17 11:32:04 -05:00
commit 2bc0b28518
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B
36 changed files with 1225 additions and 496 deletions

View file

@ -190,7 +190,7 @@ class TribalGovernmentForm(RegistrarForm):
)
tribe_name = forms.CharField(
label="What is the name of the tribe you represent?",
label="Name of tribe",
error_messages={"required": "Enter the tribe you represent."},
)
@ -596,9 +596,12 @@ class OtherContactsYesNoForm(RegistrarForm):
self.fields["has_other_contacts"] = forms.TypedChoiceField(
coerce=lambda x: x.lower() == "true" if x is not None else None, # coerce strings to bool, excepting None
choices=((True, "Yes, I can name other employees."), (False, "No (Well ask you to explain why).")),
choices=((True, "Yes, I can name other employees."), (False, "No. (Well ask you to explain why.)")),
initial=initial_value,
widget=forms.RadioSelect,
error_messages={
"required": "This question is required.",
},
)