trying another way

This commit is contained in:
Kristina Yin 2023-11-29 20:14:52 -08:00
parent 44f8b0189d
commit f21ca59e04
No known key found for this signature in database
GPG key ID: 9BB3845BB3A21584
2 changed files with 5 additions and 2 deletions

View file

@ -49,7 +49,10 @@
{% endblock %}
{% block form_required_fields_help_text %}
{% include "includes/required_fields.html" %}
<!-- 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." %}
{% include "includes/required_fields.html" %}
{% endif %}
{% endblock %}
<form id="step__{{steps.current}}" class="usa-form usa-form--large" method="post" novalidate>

View file

@ -10,7 +10,7 @@
{% if widget.attrs.required %}
<!--Don't add asterisk to one-field forms -->
{% 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 %}
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
{% endif %}