fixing syntax again

This commit is contained in:
Kristina Yin 2023-11-27 15:01:19 -08:00
parent 19064edae5
commit 4f6639e878
No known key found for this signature in database
GPG key ID: 9BB3845BB3A21584

View file

@ -8,12 +8,12 @@
{{ field.label }}
{% endif %}
{% if widget.attrs.required %}
<!--Don't include asterisk in 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." %}
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
{% endif %}
{% if widget.attrs.required %}
<!--Don't include asterisk in 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." %}
<abbr class="usa-hint usa-hint--required" title="required">*</abbr>
{% endif %}
{% endif %}
<!--
{% if widget.attrs.required %}