From d93eec9c1b71dd6dadaa6244c9671f05afbb0bed Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Thu, 16 Nov 2023 00:46:58 +0000 Subject: [PATCH] fix(enrollment): show retry button on retry page --- benefits/enrollment/views.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/benefits/enrollment/views.py b/benefits/enrollment/views.py index f68a14f6b..40c1e1560 100644 --- a/benefits/enrollment/views.py +++ b/benefits/enrollment/views.py @@ -99,7 +99,10 @@ def retry(request): analytics.returned_retry(request) form = forms.CardTokenizeFailForm(request.POST) if form.is_valid(): - return TemplateResponse(request, TEMPLATE_RETRY) + context = { + "retry_button": True, + } + return TemplateResponse(request, TEMPLATE_RETRY, context) else: analytics.returned_error(request, "Invalid retry submission.") raise Exception("Invalid retry submission.")