Skip to content

Commit 22e16e7

Browse files
[MG] [OPS-13150] payment-failed page error positioning
1 parent 3b5497b commit 22e16e7

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

app/uk/gov/hmrc/cardpaymentfrontend/views/PaymentFailedPage.scala.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636

3737
@layout(pageTitle = Some(heading)) {
3838

39-
<h1 class="govuk-heading-xl">@{
40-
messages("payment-failed.heading")
41-
}</h1>
42-
4339
@if(hasOpenBanking) {
4440

4541
@if(form.hasErrors) {
@@ -48,6 +44,10 @@ <h1 class="govuk-heading-xl">@{
4844
)
4945
}
5046

47+
<h1 class="govuk-heading-xl">@{
48+
messages("payment-failed.heading")
49+
}</h1>
50+
5151
<p class="govuk-body govuk-!-padding-bottom-6" id="sub-heading">@{
5252
messages("payment-failed.sub-heading")
5353
}</p>
@@ -82,6 +82,10 @@ <h1 class="govuk-heading-xl">@{
8282
}
8383
} else {
8484

85+
<h1 class="govuk-heading-xl">@{
86+
messages("payment-failed.heading")
87+
}</h1>
88+
8589
<p class="govuk-body" id="sub-heading">@{messages("payment-failed.sub-heading")}</p>
8690

8791
<p class="govuk-body" id="line1">@{messages("payment-failed.failed1")}</p>
@@ -92,7 +96,6 @@ <h1 class="govuk-heading-xl">@{
9296
</ul>
9397
<p class="govuk-body" id="check-again">@{messages("payment-failed.failed-check-again")}</p>
9498

95-
9699
@formWithCsrf(
97100
action = uk.gov.hmrc.cardpaymentfrontend.controllers.routes.PaymentFailedController.submit
98101
) {

0 commit comments

Comments
 (0)