From e619939ff27d289f145c9af35c96f9f007b8dd12 Mon Sep 17 00:00:00 2001 From: Kristina Yin Date: Tue, 21 Nov 2023 19:05:18 -0800 Subject: [PATCH] trying another way to get rid of asterisk in one-field forms --- src/registrar/forms/application_wizard.py | 1 + src/registrar/templates/django/forms/label.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/registrar/forms/application_wizard.py b/src/registrar/forms/application_wizard.py index 8aa528d3d..28220bd6b 100644 --- a/src/registrar/forms/application_wizard.py +++ b/src/registrar/forms/application_wizard.py @@ -638,3 +638,4 @@ class RequirementsForm(RegistrarForm): "required": ("Check the box if you read and agree to the requirements for operating .gov domains.") }, ) + diff --git a/src/registrar/templates/django/forms/label.html b/src/registrar/templates/django/forms/label.html index 6924c1155..05ca21795 100644 --- a/src/registrar/templates/django/forms/label.html +++ b/src/registrar/templates/django/forms/label.html @@ -8,7 +8,7 @@ {{ field.label }} {% endif %} {% 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." %} * {% endif %} {% endif %}