mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 09:46:06 +02:00
update label for Contact Form
This commit is contained in:
parent
08bc08220b
commit
79c1fd63ef
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@ class ContactForm(forms.ModelForm):
|
||||||
|
|
||||||
for field_name in self.required:
|
for field_name in self.required:
|
||||||
self.fields[field_name].required = True
|
self.fields[field_name].required = True
|
||||||
|
|
||||||
|
# Set custom form label
|
||||||
|
self.fields["middle_name"].label = "Middle name (optional)"
|
||||||
|
|
||||||
|
|
||||||
class DomainSecurityEmailForm(forms.Form):
|
class DomainSecurityEmailForm(forms.Form):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue