fixing syntax again

This commit is contained in:
Kristina Yin 2023-11-27 15:10:01 -08:00
parent 8c4057172b
commit 21db51cfb0
No known key found for this signature in database
GPG key ID: 9BB3845BB3A21584

View file

@ -9,12 +9,13 @@
{% 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." %}
<!-- Don't include asterisk in one-field forms -->
% if field.label not in ["Is your organization an election office?", "What .gov domain do you want?", "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 %}
{% if field.label == "What is the name of the tribe you represent? “ %}