trying another way of getting rid of required sentence for no other contacts page

This commit is contained in:
Kristina Yin 2023-11-29 20:30:15 -08:00
parent f21ca59e04
commit 6b4c6e9f37
No known key found for this signature in database
GPG key ID: 9BB3845BB3A21584

View file

@ -48,12 +48,12 @@
{% block form_instructions %}
{% endblock %}
{% block form_required_fields_help_text %}
<!-- The "No other employees from your organization?" page is a one-field form and should not have the required fields sentence -->
{% 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." %}
{% if steps.current != "no_other_contacts" %}
{% block form_required_fields_help_text %}
{% include "includes/required_fields.html" %}
{% endif %}
{% endblock %}
{% endblock %}
{% endif %}
<form id="step__{{steps.current}}" class="usa-form usa-form--large" method="post" novalidate>
{% csrf_token %}