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
|
@ -148,6 +148,9 @@ class ContactForm(forms.ModelForm):
|
|||
for field_name in self.required:
|
||||
self.fields[field_name].required = True
|
||||
|
||||
# Set custom form label
|
||||
self.fields["middle_name"].label = "Middle name (optional)"
|
||||
|
||||
|
||||
class DomainSecurityEmailForm(forms.Form):
|
||||
"""Form for adding or editing a security email to a domain."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue