From 07df4b05d3afd7e4fe7d37240c42828e4c78b77a Mon Sep 17 00:00:00 2001 From: Kristina Yin Date: Mon, 27 Nov 2023 16:39:18 -0800 Subject: [PATCH] simplified since I am still getting template syntax errors --- .../templates/django/forms/label.html | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/src/registrar/templates/django/forms/label.html b/src/registrar/templates/django/forms/label.html index e9ac2809d..339ef7b7e 100644 --- a/src/registrar/templates/django/forms/label.html +++ b/src/registrar/templates/django/forms/label.html @@ -8,26 +8,12 @@ {{ field.label }} {% endif %} - + {% 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." %} + {% else %} + * {% endif %} {% endif %} ---> - -{% if widget.attrs.required and field.label in ["What is the name of the tribe you represent?", "Organization name", -"Street address", "City", "State, territory, or military post", "Zip code", "First name / given name", "Last name / -family name", "Title or role in your organization", "Email", "Phone"] %} - * -{% endif %} - - -