diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py index 7c492d56b..2ee7248de 100644 --- a/src/registrar/forms/application_wizard.py +++ b/src/registrar/forms/application_wizard.py @@ -65,12 +65,20 @@ class ContactForm(forms.Form): organization_name = forms.CharField(label="Organization Name") street_address = forms.CharField(label="Street address") +class PurposeForm(forms.Form): + purpose_field = forms.CharField(label="Purpose", widget=forms.Textarea( + attrs={ 'class':'usa-textarea usa-character-count__field', + 'id':'with-hint', + 'aria-describedby':'instructions', + 'maxlength':'500', + })) # List of forms in our wizard. Each entry is a tuple of a name and a form # subclass FORMS = [ ("organization", OrganizationForm), ("contact", ContactForm), + ("purpose", PurposeForm), ] # Dict to match up the right template with the right step. Keys here must @@ -78,6 +86,7 @@ FORMS = [ TEMPLATES = { "organization": "application_organization.html", "contact": "application_contact.html", + "purpose": "application_purpose.html", } # We need to pass our page titles as context to the templates, indexed @@ -85,6 +94,7 @@ TEMPLATES = { TITLES = { "organization": "About your organization", "contact": "Your organization's contact information", + "purpose": "Purpose of your domain", } diff --git a/src/registrar/templates/application_purpose.html b/src/registrar/templates/application_purpose.html new file mode 100644 index 000000000..7686358b2 --- /dev/null +++ b/src/registrar/templates/application_purpose.html @@ -0,0 +1,34 @@ + +{% extends 'application_form.html' %} +{% load widget_tweaks %} + +{% block title %}Apply for a .gov domain - Puprose{% endblock %} + +{% block form_content %} +
Explain how you plan to use this domain. Will you use it for a website and/or email? Are you moving your website from another top-level domain (like .com or .org)?Read about activities that are prohibited on .gov domains.
+ +All fields are required unless they are marked optional.
+ + + +{% endblock %}