trying another way to get rid of asterisk in one-field forms

This commit is contained in:
Kristina Yin 2023-11-21 19:05:18 -08:00
parent 9773abe127
commit e619939ff2
No known key found for this signature in database
GPG key ID: 9BB3845BB3A21584
2 changed files with 2 additions and 1 deletions

View file

@ -638,3 +638,4 @@ class RequirementsForm(RegistrarForm):
"required": ("Check the box if you read and agree to the requirements for operating .gov domains.") "required": ("Check the box if you read and agree to the requirements for operating .gov domains.")
}, },
) )

View file

@ -8,7 +8,7 @@
{{ field.label }} {{ field.label }}
{% endif %} {% endif %}
{% if widget.attrs.required %} {% if widget.attrs.required %}
{% if widget.label != "What is the name of the tribe you represent? " %} {% if widget.attrs.label != "I read and agree to the requirements for operating .gov domains." %}
<abbr class="usa-hint usa-hint--required" title="required">*</abbr> <abbr class="usa-hint usa-hint--required" title="required">*</abbr>
{% endif %} {% endif %}
{% endif %} {% endif %}