fixing syntax again

This commit is contained in:
Kristina Yin 2023-11-27 15:40:38 -08:00
parent db162b70d2
commit f8baae75b8
No known key found for this signature in database
GPG key ID: 9BB3845BB3A21584

View file

@ -8,12 +8,9 @@
{{ field.label }}
{% endif %}
{% if widget.attrs.required %}
<!-- Don't include asterisk in one-field forms -->
{% if field.label != "Is your organization an election office?" and field.label != "What .gov domain do you want?" and field.label != "I read and agree to the requirements for operating .gov domains." %}
{% if widget.attrs.required and field.label != "Is your organization an election office" and field.label != "What .gov domain do you want" and field.label != "I read and agree to the requirements for operating .gov domains" %}
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
{% endif %}
{% endif %}
<!--