* Update "current website" text
* Update tribal gov text about needing more info
* Add more context about current domains being used
* RM text saying we'll email other contacts about the request
* RM reference to emailing other contacts
* Fix linter and test failures
* Updated wait time to 20 business days
---------
Co-authored-by: Seamus Johnston <seamus.johnston@gsa.gov>
* Updated error message text
* Updated field labels, intro text
* Tidy up thank you page
* Removed reference to managing a domain
* Update test language to match form language
* Fix linting error (hopefully)
* Fix linting and tests
---------
Co-authored-by: Neil Martinsen-Burrell <neil.martinsen-burrell@gsa.gov>
* Update application_wizard.py
* Newer, slimmer version of legal content
* Update form section labels
* Updated text for request for info from tribal govs
* Added text to clarify that managing elections should be primary purpose of office
* Added question about audience to align with new requirements
* Fix link in error message, tests and linting
---------
Co-authored-by: Neil Martinsen-Burrell <neil.martinsen-burrell@gsa.gov>
The purpose of this change is to allow direct use of Django templates
to make edits to how form fields and labels are rendered, while
retaining the validation logic provided by Django's extensive field and
widget library.
This commit additional contains:
- Remove `REQUIRED_SUFFIX`, as it is handled by the templates now
- Remove `required=True` from form fields, as this is the default
- Remove `required=False` from fields where it was added as workaround
for conditionally required questions which Django form wizard
couldn't handle
- Replace `clean_is_policy_acknowledged` with `error_messages` dict
- Remove duplicate nil entry for Federal Agency dropdown
- Update `DOMAIN_REGEX` to match whole string
- Subtle changes to `is_valid` and `get_forms` in ApplicationWizard to
reduce database calls and use form object's initial data correctly