Skip to content

Commit

Permalink
Add: Query confirmation page
Browse files Browse the repository at this point in the history
  • Loading branch information
Beckyrose200 committed Dec 30, 2024
1 parent c45bd11 commit 00c98d6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions app/views/return-logs/confirmation.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% extends 'layout.njk' %}
{% from "govuk/components/panel/macro.njk" import govukPanel %}

{% block content %}
{% set returnDetails %}
<div data-test="licenceNumber">Licence number <strong>{{ returnLog.licenceNumber }}</strong></div><br>
<div data-test="siteDescription">Site description <strong>{{ returnLog.siteDescription }}</strong></div><br>
<div data-test="purpose">Purpose <strong>{{ returnLog.purpose }}</strong></div>
{% endset %}

<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
{{ govukPanel({
titleText: pageTitle,
classes: "govuk-!-margin-bottom-4",
html: returnDetails
}) }}
</div>
</div>

<p class="govuk-body">
<a class="govuk-link" href="/system/licences/{{ licenceId }}/returns">View returns for {{returnLog.licenceNumber}}</a>
</p>
{% endblock %}

0 comments on commit 00c98d6

Please sign in to comment.