From 21db51cfb09b96c7f9dcd26d33e44cd2631021c3 Mon Sep 17 00:00:00 2001 From: Kristina Yin Date: Mon, 27 Nov 2023 15:10:01 -0800 Subject: [PATCH] fixing syntax again --- src/registrar/templates/django/forms/label.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/registrar/templates/django/forms/label.html b/src/registrar/templates/django/forms/label.html index 3471c52c4..bfeffe0bb 100644 --- a/src/registrar/templates/django/forms/label.html +++ b/src/registrar/templates/django/forms/label.html @@ -9,12 +9,13 @@ {% 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 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."] %} * {% endif %} {% endif %} +