Skip to content

Commit

Permalink
Add content to panel example to demonstrate longer text
Browse files Browse the repository at this point in the history
  • Loading branch information
hannalaakso committed Sep 16, 2021
1 parent 06ed8a8 commit 2d374d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/full-page-examples/passport-details/confirm.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

{% from "panel/macro.njk" import govukPanel %}

{% set pageTitle = "Passport details submitted" %}
{% set pageTitle = "We have emailed you a confirmation" %}
{% block pageTitle %}{{ pageTitle }} - GOV.UK{% endblock %}

{% block content %}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
{{ govukPanel({
titleText: pageTitle
titleText: pageTitle,
html: "Your reference number<br><strong>HDJ2123F</strong>"
}) }}
</div>
</div>
Expand Down

0 comments on commit 2d374d3

Please sign in to comment.