diff --git a/src/registrar/config/urls.py b/src/registrar/config/urls.py index 2434511b9..19bd176e5 100644 --- a/src/registrar/config/urls.py +++ b/src/registrar/config/urls.py @@ -35,6 +35,7 @@ for step, view in [ (Step.PURPOSE, views.Purpose), (Step.YOUR_CONTACT, views.YourContact), (Step.OTHER_CONTACTS, views.OtherContacts), + (Step.NO_OTHER_CONTACTS, views.NoOtherContacts), (Step.ANYTHING_ELSE, views.AnythingElse), (Step.REQUIREMENTS, views.Requirements), (Step.REVIEW, views.Review), diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py index d71332c48..119125bc2 100644 --- a/src/registrar/forms/application_wizard.py +++ b/src/registrar/forms/application_wizard.py @@ -662,11 +662,11 @@ OtherContactsFormSet = forms.formset_factory( class NoOtherContactsForm(RegistrarForm): no_other_contacts_rationale = forms.CharField( - required=False, + required=True, # label has to end in a space to get the label_suffix to show label=( - "If you can’t provide other contacts for your organization," - " please explain why." + "Please explain why there are no other employees from your organization" + " that we can contact." ), widget=forms.Textarea(), ) diff --git a/src/registrar/models/domain_application.py b/src/registrar/models/domain_application.py index 460204a1b..d836e36db 100644 --- a/src/registrar/models/domain_application.py +++ b/src/registrar/models/domain_application.py @@ -538,6 +538,10 @@ class DomainApplication(TimeStampedModel): DomainApplication.OrganizationChoices.INTERSTATE, ] + def show_no_other_contacts_rationale(self) -> bool: + """Show this step if the other contacts are blank.""" + return not self.other_contacts.exists() + def is_federal(self) -> Union[bool, None]: """Is this application for a federal agency? diff --git a/src/registrar/templates/application_no_other_contacts.html b/src/registrar/templates/application_no_other_contacts.html new file mode 100644 index 000000000..736454831 --- /dev/null +++ b/src/registrar/templates/application_no_other_contacts.html @@ -0,0 +1,6 @@ +{% extends 'application_form.html' %} +{% load static field_helpers %} + +{% block form_fields %} + {% input_with_errors forms.0.no_other_contacts_rationale %} +{% endblock %} diff --git a/src/registrar/templates/application_other_contacts.html b/src/registrar/templates/application_other_contacts.html index 7ab7252f0..fc41a8385 100644 --- a/src/registrar/templates/application_other_contacts.html +++ b/src/registrar/templates/application_other_contacts.html @@ -2,7 +2,7 @@ {% load static field_helpers %} {% block form_instructions %} -
We’d like to contact other employees with administrative or technical responsibilities in your organization. For example, they could be involved in managing your organization or its technical infrastructure. This information will help us assess your eligibility and understand the purpose of the .gov domain. These contacts should be in addition to you and your authorizing official. They should be employees of your organization.
+We’d like to contact other employees in your organization about your domain request. For example, they could be involved in managing your organization or its technical infrastructure. This information will help us assess your eligibility for a .gov domain. These contacts should be in addition to you and your authorizing official. They should be employees of your organization.
We’ll email these contacts to let them know that you made this request.
{% endblock %} @@ -14,7 +14,7 @@ {% for form in forms.0.forms %}