From c892e58f7cb287b0235a5bde8bf43dbf6d9d6c5f Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Fri, 6 Dec 2024 22:29:30 +0000 Subject: [PATCH] refactor: reduce divitis on enrollment-success --- .../templates/enrollment/success.html | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/benefits/enrollment/templates/enrollment/success.html b/benefits/enrollment/templates/enrollment/success.html index e73f2110e..8f9440801 100644 --- a/benefits/enrollment/templates/enrollment/success.html +++ b/benefits/enrollment/templates/enrollment/success.html @@ -52,18 +52,13 @@

{% translate "Your benefit will expire on" %} {{ enr alt="" /> - -{% endblock inner-content %} - -{% block call-to-action %} - {% if authentication and authentication.logged_in and authentication.sign_out_button_template %} -
-
-

+ {% if authentication and authentication.logged_in and authentication.sign_out_button_template %} +

+

{% translate "If you are on a public or shared computer, don’t forget to sign out of " %} {% include authentication.sign_out_button_template %}

-
- {% endif %} -{% endblock call-to-action %} + {% endif %} +
+{% endblock inner-content %}