From 893fd2ebe047dd22a4556f9dd039345c6aeed74b Mon Sep 17 00:00:00 2001 From: Angela Tran Date: Wed, 17 Apr 2024 22:59:14 +0000 Subject: [PATCH] fix: disable djlint for the form label element whitespace around the tag contents was causing the issue --- benefits/core/templates/core/includes/form.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/benefits/core/templates/core/includes/form.html b/benefits/core/templates/core/includes/form.html index ae7c89057..56a40ebce 100644 --- a/benefits/core/templates/core/includes/form.html +++ b/benefits/core/templates/core/includes/form.html @@ -11,12 +11,12 @@ {% for field in form %}
+ {# djlint:off #} {% if field.label %} - + {% endif %} + {# djlint:on #} {{ field }}