mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 22:44:47 +02:00
Add authorizing official view
This commit is contained in:
parent
fab3e1b292
commit
1a9290ea15
2 changed files with 69 additions and 0 deletions
|
@ -73,11 +73,23 @@ class PurposeForm(forms.Form):
|
|||
'maxlength':'500',
|
||||
}))
|
||||
|
||||
class AuthorizingOfficialForm(forms.Form):
|
||||
ao_given_name = forms.CharField(label="First name/given name")
|
||||
ao_middle_name = forms.CharField(
|
||||
required=False,
|
||||
label="Middle name (optional)",
|
||||
)
|
||||
ao_family_name = forms.CharField(label="Last name/family name")
|
||||
ao_title = forms.CharField(label="Title or role in your organization")
|
||||
ao_email = forms.EmailField(label="Email")
|
||||
ao_phone = forms.CharField(label="Phone")
|
||||
|
||||
# List of forms in our wizard. Each entry is a tuple of a name and a form
|
||||
# subclass
|
||||
FORMS = [
|
||||
("organization", OrganizationForm),
|
||||
("contact", ContactForm),
|
||||
("authorizing_official", AuthorizingOfficialForm),
|
||||
("purpose", PurposeForm),
|
||||
]
|
||||
|
||||
|
@ -86,6 +98,7 @@ FORMS = [
|
|||
TEMPLATES = {
|
||||
"organization": "application_organization.html",
|
||||
"contact": "application_contact.html",
|
||||
"authorizing_official": "application_authorizing_official.html",
|
||||
"purpose": "application_purpose.html",
|
||||
}
|
||||
|
||||
|
@ -94,6 +107,7 @@ TEMPLATES = {
|
|||
TITLES = {
|
||||
"organization": "About your organization",
|
||||
"contact": "Your organization's contact information",
|
||||
"authorizing_official": "Authorizing official",
|
||||
"purpose": "Purpose of your domain",
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue