File tree Expand file tree Collapse file tree
lung_cancer_screening/questions/jinja2 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{% extends 'layout.jinja' %}
2- {% from 'nhsuk/components/button/macro.jinja' import button %}
3- {% from 'nhsuk/components/input/macro.jinja' import input %}
2+ {% from 'nhsuk/components/back-link/macro.jinja' import backLink %}
3+
4+ {% block beforeContent %}
5+ <nav >
6+ {{
7+ backLink({
8+ "href": url("questions:date_of_birth"),
9+ "text": "Back"
10+ })
11+ }}
12+ </nav >
13+ {% endblock beforeContent %}
414
515{% block content %}
616 <div class =" nhsuk-grid-row" >
717 <div class =" nhsuk-grid-column-two-thirds" >
8- <h2 class =" title" >You do not need an NHS lung health check</h2 >
18+ <h2 class =" title" >You are not eligible for lung cancer screening</h2 >
19+
20+ <p >NHS lung cancer screening is for people between the ages of 55 and 74.</p >
21+ <p >According to the date of birth you have provided you are not in this age range.</p >
922
10- < p >The NHS lung health check is for people between the ages of 55 and 74.</ p >
23+ {% include '_speak_to_a_gp_if.jinja' %}
1124 </div >
1225 </div >
1326{% endblock %}
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ Feature: Not in age range
55 When I go to "/date-of-birth"
66 And I fill in and submit my date of birth with "01-01-1900"
77 Then I am on "/age-range-exit"
8- And I see a title "You do not need an NHS lung health check "
8+ And I see a title "You are not eligible for lung cancer screening "
You can’t perform that action at this time.
0 commit comments