From f21ca59e0466ce6dbb750fa9a272374c379f6422 Mon Sep 17 00:00:00 2001 From: Kristina Yin Date: Wed, 29 Nov 2023 20:14:52 -0800 Subject: [PATCH] trying another way --- src/registrar/templates/application_form.html | 5 ++++- src/registrar/templates/django/forms/label.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/registrar/templates/application_form.html b/src/registrar/templates/application_form.html index 6830033b5..53f8d7a52 100644 --- a/src/registrar/templates/application_form.html +++ b/src/registrar/templates/application_form.html @@ -49,7 +49,10 @@ {% endblock %} {% block form_required_fields_help_text %} - {% include "includes/required_fields.html" %} + + {% if field.label != "Please explain why there are no other employees from your organization we can contact to help us assess your eligibility for a .gov domain." %} + {% include "includes/required_fields.html" %} + {% endif %} {% endblock %}
diff --git a/src/registrar/templates/django/forms/label.html b/src/registrar/templates/django/forms/label.html index 033296ab1..18d24a7bd 100644 --- a/src/registrar/templates/django/forms/label.html +++ b/src/registrar/templates/django/forms/label.html @@ -10,7 +10,7 @@ {% if widget.attrs.required %} - {% if field.label == "Is your organization an election office?" or field.label == "What .gov domain do you want?" or field.label == "I read and agree to the requirements for operating .gov domains." or field.label == "Please explain why there are no other employees from your organization" %} + {% if field.label == "Is your organization an election office?" or field.label == "What .gov domain do you want?" or field.label == "I read and agree to the requirements for operating .gov domains." or field.label == "Please explain why there are no other employees from your organization we can contact to help us assess your eligibility for a .gov domain." %} {% else %} * {% endif %}