mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-10 06:24:45 +02:00
Add anything else view
This commit is contained in:
parent
d540337f07
commit
a946a5e629
2 changed files with 35 additions and 0 deletions
|
@ -128,6 +128,13 @@ class SecurityEmailForm(forms.Form):
|
|||
label="Email",
|
||||
)
|
||||
|
||||
class AnythingElseForm(forms.Form):
|
||||
anything_else = forms.CharField(
|
||||
required=False,
|
||||
label="Anything else we should know",
|
||||
widget=forms.Textarea()
|
||||
)
|
||||
|
||||
# List of forms in our wizard. Each entry is a tuple of a name and a form
|
||||
# subclass
|
||||
FORMS = [
|
||||
|
@ -140,6 +147,7 @@ FORMS = [
|
|||
("your_contact", YourContactForm),
|
||||
("other_contacts", OtherContactsForm),
|
||||
("security_email", SecurityEmailForm),
|
||||
("anything_else", AnythingElseForm),
|
||||
]
|
||||
|
||||
# Dict to match up the right template with the right step. Keys here must
|
||||
|
@ -154,6 +162,7 @@ TEMPLATES = {
|
|||
"your_contact": "application_your_contact.html",
|
||||
"other_contacts": "application_other_contacts.html",
|
||||
"security_email": "application_security_email.html",
|
||||
"anything_else": "application_anything_else.html",
|
||||
}
|
||||
|
||||
# We need to pass our page titles as context to the templates, indexed
|
||||
|
@ -168,6 +177,7 @@ TITLES = {
|
|||
"your_contact": "Your contact information",
|
||||
"other_contacts": "Other contacts for your domain",
|
||||
"security_email": "Security email for public use",
|
||||
"anything_else": "Anything else we should know?",
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue