From dce769c917469c7e9f1fb4f781e339005437e772 Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Wed, 18 Dec 2024 01:06:07 +0000 Subject: [PATCH] fix(form): undo form refactoring for now --- benefits/core/templates/core/includes/form.html | 2 +- benefits/eligibility/templates/eligibility/confirm.html | 4 +++- benefits/eligibility/templates/eligibility/index.html | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/benefits/core/templates/core/includes/form.html b/benefits/core/templates/core/includes/form.html index 695d9a9aa..4ff9c81a5 100644 --- a/benefits/core/templates/core/includes/form.html +++ b/benefits/core/templates/core/includes/form.html @@ -4,7 +4,7 @@ {% url form.action_url as form_action %}
diff --git a/benefits/eligibility/templates/eligibility/confirm.html b/benefits/eligibility/templates/eligibility/confirm.html index cac09f1d1..770d9a6da 100644 --- a/benefits/eligibility/templates/eligibility/confirm.html +++ b/benefits/eligibility/templates/eligibility/confirm.html @@ -26,7 +26,9 @@

{{ form.headline }}

{% endblock explanatory-text-wrapper %} {% block inner-content %} - {% include "core/includes/form.html" with form=form %} +
+
{% include "core/includes/form.html" with form=form %}
+
{% endblock inner-content %} {% comment %} Override with empty block to prevent rendering empty divs {% endcomment %} diff --git a/benefits/eligibility/templates/eligibility/index.html b/benefits/eligibility/templates/eligibility/index.html index 8008e4e62..69135ddc5 100644 --- a/benefits/eligibility/templates/eligibility/index.html +++ b/benefits/eligibility/templates/eligibility/index.html @@ -30,7 +30,9 @@

{% translate "Choose the transit benefit you would like to enroll in" %}

+
{% include "core/includes/form.html" with form=form %}
+