-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into invalidateFormFields
- Loading branch information
Showing
6 changed files
with
60 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
{% from "govuk/components/button/macro.njk" import govukButton %} | ||
|
||
{% set pageName = "Error" %} | ||
|
||
{% extends "layouts/main.html" %} | ||
|
||
{% block content %} | ||
<h1 class="govuk-heading-xl">Error</h1> | ||
|
||
<h2>{{err.code + " - " if err.code}}{{err.message}}</h2> | ||
{%if err.stack %} | ||
<pre>{{err.stack | safe}}</pre> | ||
{% endif %} | ||
|
||
{{ govukButton({ | ||
text: "Start again", | ||
href: "/" | ||
}) }} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
{% from "govuk/components/button/macro.njk" import govukButton %} | ||
|
||
{% set pageName = "File not found" %} | ||
|
||
{% extends "layouts/main.html" %} | ||
|
||
{% block content %} | ||
<h2>Error: File not found</h2> | ||
|
||
{{ govukButton({ | ||
text: "Start again", | ||
href: "/" | ||
}) }} | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends "layouts/main.html" %} | ||
|
||
{% from "govuk/components/button/macro.njk" import govukButton %} | ||
|
||
{% set pageName = 'Session Expired: ' + serviceName %} | ||
|
||
{% block content %} | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<h1 class="govuk-heading-xl"> | ||
Session Expired | ||
</h1> | ||
</div> | ||
</div> | ||
|
||
<form method="POST"> | ||
{{ govukButton({ | ||
text: "Start over", | ||
href: "/" | ||
}) }} | ||
</form> | ||
{% endblock %} |