From 4f6639e8783cfd97620aa3d3833390bec2d77c13 Mon Sep 17 00:00:00 2001 From: Kristina Yin Date: Mon, 27 Nov 2023 15:01:19 -0800 Subject: [PATCH] fixing syntax again --- src/registrar/templates/django/forms/label.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/registrar/templates/django/forms/label.html b/src/registrar/templates/django/forms/label.html index 7db89ea36..d1461a9e8 100644 --- a/src/registrar/templates/django/forms/label.html +++ b/src/registrar/templates/django/forms/label.html @@ -8,12 +8,12 @@ {{ field.label }} {% endif %} - {% if widget.attrs.required %} - - {% if field.label != "Is your organization an election office?" or field.label != "What .gov domain do you want?" or field.label != "I read and agree to the requirements for operating .gov domains." %} - * - {% endif %} +{% if widget.attrs.required %} + + {% if field.label != "Is your organization an election office?" or field.label != "What .gov domain do you want?" or field.label != "I read and agree to the requirements for operating .gov domains." %} + * {% endif %} +{% endif %}