From 920698b424b67b06d1add54f5c942c90be919b37 Mon Sep 17 00:00:00 2001 From: baarkerlounger <5101747+baarkerlounger@users.noreply.github.com> Date: Thu, 9 Dec 2021 15:33:11 +0000 Subject: [PATCH] Replace rails error pages with generic gov ones (#154) * Replace rails error pages with generic gov ones * Use the 404 page * Remove tax bit * Fix layout of error pages * Add help link to 404 page Co-authored-by: Paul Robert Lloyd --- public/404.html | 73 +++++-------------------------------------------- public/422.html | 71 ++++------------------------------------------- public/500.html | 70 ++++------------------------------------------- 3 files changed, 17 insertions(+), 197 deletions(-) diff --git a/public/404.html b/public/404.html index 4b9cf8b1b..522d5a42c 100644 --- a/public/404.html +++ b/public/404.html @@ -1,67 +1,8 @@ - - - - The page you were looking for doesn’t exist (404) - - - - - - -
-
-

The page you were looking for doesn’t exist.

-

You may have mistyped the address or the page may have moved.

-
-

If you are the application owner check the logs for more information.

+
+
+

Page not found

+

If you typed the web address, check it is correct.

+

If you pasted the web address, check you copied the entire address.

+

Get help if the web address is correct and not working.

- - +
diff --git a/public/422.html b/public/422.html index 0e015bc7e..2d4d96440 100644 --- a/public/422.html +++ b/public/422.html @@ -1,67 +1,6 @@ - - - - The change you wanted was rejected (422) - - - - - - -
-
-

The change you wanted was rejected.

-

Maybe you tried to change something you didn’t have access to.

-
-

If you are the application owner check the logs for more information.

+
+
+

Sorry, there is a problem with the service

+

Try again later.

- - +
diff --git a/public/500.html b/public/500.html index 78a030af2..2d4d96440 100644 --- a/public/500.html +++ b/public/500.html @@ -1,66 +1,6 @@ - - - - We're sorry, but something went wrong (500) - - - - - - -
-
-

We're sorry, but something went wrong.

-
-

If you are the application owner check the logs for more information.

+
+
+

Sorry, there is a problem with the service

+

Try again later.

- - +