From c55c8afa9c79e744eb425739697da3a565f3a089 Mon Sep 17 00:00:00 2001 From: owenatgov Date: Tue, 25 Oct 2022 19:14:29 +0100 Subject: [PATCH] Add a full page example demonstrating Exit this Page --- .../child-maintenance/index.njk | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 app/views/full-page-examples/child-maintenance/index.njk diff --git a/app/views/full-page-examples/child-maintenance/index.njk b/app/views/full-page-examples/child-maintenance/index.njk new file mode 100644 index 0000000000..b04729b8ab --- /dev/null +++ b/app/views/full-page-examples/child-maintenance/index.njk @@ -0,0 +1,133 @@ +--- +scenario: >- + You are a user looking for information on child maintenance. + There is a chance that as a user of this service, you are a victim of domestic + abuse, therefore this page includes an Exit this Page component. + + Things to try: + + 1. Activate the Exit this Page button by clicking it + + 2. Activate the Exit this Page button by pressing the Esc key 3 times + + 3. Activating the Exit this Page button on a small screen view + + 4. Scoll down the page to see if the Exit this Page button remains sticky + + 5. Tabbing through the page to find the Exit this Page "skip link" at the top + of the accessibility tree +--- + +{% extends "full-page-example.njk" %} + +{% from "hide-this-page/macro.njk" import govukHideThisPage %} +{% from "inset-text/macro.njk" import govukInsetText %} +{% from "details/macro.njk" import govukDetails %} +{% from "button/macro.njk" import govukButton %} + +{% set pageTitle = "Child maintenance" %} +{% block pageTitle %}{{ pageTitle }} - GOV.UK{% endblock %} + +{% block skipLink %} + {{ super() }} + {{ govukSkipLink({ + href: 'https://www.google.com/', + text: 'Hide this page', + classes: 'govuk-js-hide-this-page-button' + }) }} +{% endblock %} + +{% block content %} +
+
+

Get help arranging child maintenance

+ +

This service will give you information about the different options available to make a child maintenance arrangement. These are:

+ +
    +
  • making your own arrangement
  • +
  • using the Child Maintenance Service
  • +
+ +

+ Contact Child Maintenance Choices if you live in Northern Ireland +

+ +

Using the Child Maintenance Service

+

If you already have an active case

+

If you have a case with the same parent you should report a change of circumstances instead of making a new arrangement. You can use this service if you want to set up a new arrangement with a different parent.

+ +

Fees

+

If you decide to use the Child Maintenance Service the application fee is £20 and cannot be refunded. You’ll need a debit or credit card to pay this. It does not guarantee an arrangement.

+

You will not have to pay the application fee if you:

+
    +
  • are under 19 years old
  • +
  • have experienced domestic abuse
  • +
+

+ Get help if you have experienced domestic abuse +

+ +

If you’re worried about contacting the other parent

+

If you decide to use the Child Maintenance Service, we will try to contact the other parent about setting up child maintenance – you do not need to.

+

We will share the following details with the other parent:

+
    +
  • your name
  • +
  • your child’s name and date of birth
  • +
  • the number of days your child stays with the parent who will be making payments - the other parent will need to confirm this
  • +
+ +

If you are the parent who will be paying child maintenance, we will also share the following details with the other parent:

+
    +
  • your income information
  • +
  • whether any additional children are taken into account in the calculation - we will not share identifying details about these children, only how many have been taken into account
  • +
+ + {{ govukInsetText({ + text: "We will not share any other information with the other parent as a part of your application." + }) }} + + {% set doIHaveAnActiveCase %} + You will need to contact child maintenance (opens in new tab). + {% endset %} + + {% set payingToRecieving %} +

You will need to close your existing Child Maintenance case and open a new one.

+

If you were the original applicant, you can close your case in MCMC , or you can contact child maintenance (opens in new tab).

+

If you were not the original applicant, you will need to contact child maintenance (opens in new tab).

+ {% endset %} + + {% set recievingToPaying %} +

You will need to close your existing Child Maintenance case and open a new one.

+

If you were the original applicant, you can close your case in MCMC , or you can contact child maintenance (opens in new tab).

+

If you were not the original applicant, you will need to contact child maintenance (opens in new tab).

+ {% endset %} + + {{ govukDetails({ + summaryText: 'I do not know if I have an active case', + html: doIHaveAnActiveCase + }) }} + + {{ govukDetails({ + summaryText: 'I need to change from paying to receiving child maintenance', + html: payingToRecieving + }) }} + + {{ govukDetails({ + summaryText: 'I need to change from receiving to paying child maintenance', + html: recievingToPaying + }) }} + + {{ govukButton({ + text: "Start now", + href: "#", + isStartButton: true + }) }} +
+ + {{ govukHideThisPage({ + text: "Exit this page", + redirectUrl: "https://www.google.com/" + }) }} +
+{% endblock %}