From f8baae75b8888d744620ca6e453ec91d30f8ed9b Mon Sep 17 00:00:00 2001 From: Kristina Yin Date: Mon, 27 Nov 2023 15:40:38 -0800 Subject: [PATCH] fixing syntax again --- src/registrar/templates/django/forms/label.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/registrar/templates/django/forms/label.html b/src/registrar/templates/django/forms/label.html index 05a932143..f2f18eca9 100644 --- a/src/registrar/templates/django/forms/label.html +++ b/src/registrar/templates/django/forms/label.html @@ -8,12 +8,9 @@ {{ field.label }} {% endif %} -{% if widget.attrs.required %} - - {% 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" %} * {% endif %} -{% endif %}