Commit 949d880 1 parent 701a781 commit 949d880 Copy full SHA for 949d880
File tree 4 files changed +29
-7
lines changed
4 files changed +29
-7
lines changed Original file line number Diff line number Diff line change 187
187
"selection_label_template" : " eligibility/includes/selection-label--mst-courtesy-card.html" ,
188
188
"start_template" : " eligibility/start--mst-courtesy-card.html" ,
189
189
"form_class" : " benefits.eligibility.forms.MSTCourtesyCard" ,
190
+ "unverified_template" : " eligibility/unverified--agency-card.html" ,
190
191
"help_template" : " core/includes/help--mst-courtesy-card.html"
191
192
}
192
193
},
251
252
"selection_label_template" : " eligibility/includes/selection-label--sbmtd-mobility-pass.html" ,
252
253
"start_template" : " eligibility/start--sbmtd-mobility-pass.html" ,
253
254
"form_class" : " benefits.eligibility.forms.SBMTDMobilityPass" ,
255
+ "unverified_template" : " eligibility/unverified--agency-card.html" ,
254
256
"help_template" : " core/includes/help--sbmtd-mobility-pass.html"
255
257
}
256
258
},
Original file line number Diff line number Diff line change
1
+ {% extends "eligibility/unverified.html" %}
2
+ {% load i18n %}
3
+
4
+ {% block unverified-headline %}
5
+ {% translate "Your card information may not have been entered correctly." %}
6
+ {% endblock unverified-headline %}
7
+
8
+ {% block unverified-body %}
9
+ {% translate "The number and last name must be entered exactly as they appear on your MST Courtesy Card. Please check your card and try again, or contact your transit agency for help." %}
10
+ {% endblock unverified-body %}
11
+
12
+ {% block unverified-call-to-action %}
13
+ {% translate "Try again" as button_text %}
14
+ < div class ="col-lg-3 col-8 "> {% include "core/includes/button--origin.html" with button_text=button_text %}</ div >
15
+ {% endblock unverified-call-to-action %}
Original file line number Diff line number Diff line change 12
12
13
13
< div class ="container ">
14
14
< h1 class ="h2 text-center ">
15
- < span class ="icon d-block pb-5 ">
16
- {% include "core/includes/icon.html" with name="idcardquestion" %}
17
- </ span >
18
- {% translate "Your eligibility could not be verified." %}
15
+ < span class ="icon d-block pb-5 "> {% include "core/includes/icon.html" with name="idcardquestion" %} </ span >
16
+ {% block unverified-headline %}
17
+ {% translate "Your eligibility could not be verified." %}
18
+ {% endblock unverified-headline %}
19
19
</ h1 >
20
20
21
21
< div class ="row justify-content-center ">
22
22
< div class ="col-lg-8 pt-4 ">
23
23
< p >
24
- {% translate "That’s okay! You may still be eligible for our program." %}
25
- {% blocktranslate with short_name=agency.short_name %}Please reach out to {{ short_name }} for assistance.{% endblocktranslate %}
24
+ {% block unverified-body %}
25
+ {% translate "That’s okay! You may still be eligible for our program." %}
26
+ {% blocktranslate with short_name=agency.short_name %}Please reach out to {{ short_name }} for assistance.{% endblocktranslate %}
27
+ {% endblock unverified-body %}
26
28
</ p >
27
29
</ div >
28
30
</ div >
@@ -32,7 +34,9 @@ <h1 class="h2 text-center">
32
34
</ div >
33
35
34
36
< div class ="row pt-8 justify-content-center ">
35
- < div class ="col-lg-3 col-8 "> {% include "core/includes/button--index.html" %}</ div >
37
+ {% block unverified-call-to-action %}
38
+ < div class ="col-lg-3 col-8 "> {% include "core/includes/button--index.html" %}</ div >
39
+ {% endblock unverified-call-to-action %}
36
40
</ div >
37
41
38
42
</ div >
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ def confirm(request):
118
118
119
119
# GET from an unverified user, present the form
120
120
if request .method == "GET" :
121
+ session .update (request , origin = reverse (ROUTE_CONFIRM ))
121
122
return TemplateResponse (request , TEMPLATE_CONFIRM , context )
122
123
# POST form submission, process form data, make Eligibility Verification API call
123
124
elif request .method == "POST" :
You can’t perform that action at this time.
0 commit comments