metadata_presenter 1.0.1 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61f076f09318c37b7efa8b3d6a70d3663e4a8c70422ee56048ed98c98b2e1ddd
4
- data.tar.gz: 267ac5f94ee05d4adc8753c6dde9ca6401e586e29726b913155e3a77b656db44
3
+ metadata.gz: b03c890004f15bcfe8cafbdafbf2e2fc1753da2361b682dffcbe21ff14e7fbe4
4
+ data.tar.gz: 170816539a041ea323a98a8fa8570829f6b1ceb0ca7c1a7b7308a250ed3c0d19
5
5
  SHA512:
6
- metadata.gz: e13a1dc11ec80dec4c55f428d20fc68b3d2c2eb8a5adcc08941233b03e1f64b9e8e52e8a0642d5ac9c738f77311b83aa74ee5128f1633727dd83239f23efdd7b
7
- data.tar.gz: 9e3a5959ab485a98adadef7bc68e1807bfda82370a1357f1efd2a82978b2eddaed6e926a0bcb01f5e83a1f6d416d86bfc40fe7e02a4c12054cc0c08b7e2c7a32
6
+ metadata.gz: c3ab9c6694f3075fc59582d3d7ce474ffd9a2bfb558e1dcf7ea0b8523bbd6b305a652b6f56a91a94f44da48cef674d3baf4bed033294012e6084264ddf21519a
7
+ data.tar.gz: 7502f30506ceef93004ee6e46519d006d6226ca08b035ec717c934b41532ecb443308baaec3d9be5ffae2c8f908fc13ab98ce908b758cc5367586fbf11a8670d
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2020 Tomas D'Stefano
1
+ Copyright 2020 MoJ Forms
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,6 +1,9 @@
1
1
  <div class="fb-main-grid-wrapper" data-fb-pagetype="<%= @page.type %>">
2
2
  <div class="govuk-grid-row">
3
3
  <div class="govuk-grid-column-two-thirds">
4
+
5
+ <%= render 'metadata_presenter/attribute/section_heading' %>
6
+
4
7
  <%= form_for @page_answers, as: :answers, url: @page.url, method: :post do |f| %>
5
8
  <%= f.govuk_error_summary %>
6
9
 
@@ -2,7 +2,6 @@
2
2
  <div class="govuk-grid-row">
3
3
  <div class="govuk-grid-column-two-thirds">
4
4
 
5
- <%= render 'metadata_presenter/attribute/section_heading' %>
6
5
  <%= render 'metadata_presenter/attribute/heading' %>
7
6
  <%= render 'metadata_presenter/attribute/lede' %>
8
7
  <%= render 'metadata_presenter/attribute/body' %>
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "_id": "page.singlequestion",
3
3
  "_type": "page.singlequestion",
4
+ "section_heading": "",
4
5
  "heading": "Question",
5
6
  "lede": "",
6
7
  "body": "Body section",
@@ -4,6 +4,6 @@
4
4
  "body": "[Optional content]",
5
5
  "content": "[Optional content]",
6
6
  "hint": "[Optional hint text]",
7
- "option": "[Required option text]",
7
+ "option": "Option",
8
8
  "option_hint": "[Optional hint text]"
9
9
  }
@@ -15,19 +15,19 @@
15
15
  {
16
16
  "_id": "config.meta--link",
17
17
  "_type": "link",
18
- "href": "/cookies",
18
+ "href": "cookies",
19
19
  "text": "Cookies"
20
20
  },
21
21
  {
22
22
  "_id": "config.meta--link--2",
23
23
  "_type": "link",
24
- "href": "/privacy",
24
+ "href": "privacy",
25
25
  "text": "Privacy"
26
26
  },
27
27
  {
28
28
  "_id": "config.meta--link--3",
29
29
  "_type": "link",
30
- "href": "/accessibility",
30
+ "href": "accessibility",
31
31
  "text": "Accessibility"
32
32
  }
33
33
  ]
@@ -15,19 +15,19 @@
15
15
  {
16
16
  "_id": "config.meta--link",
17
17
  "_type": "link",
18
- "href": "/cookies",
18
+ "href": "cookies",
19
19
  "text": "Cookies"
20
20
  },
21
21
  {
22
22
  "_id": "config.meta--link--2",
23
23
  "_type": "link",
24
- "href": "/privacy",
24
+ "href": "privacy",
25
25
  "text": "Privacy"
26
26
  },
27
27
  {
28
28
  "_id": "config.meta--link--3",
29
29
  "_type": "link",
30
- "href": "/accessibility",
30
+ "href": "accessibility",
31
31
  "text": "Accessibility"
32
32
  }
33
33
  ]
@@ -52,7 +52,7 @@
52
52
  "body": "You'll receive a confirmation email",
53
53
  "heading": "Complaint sent",
54
54
  "lede": "Optional lede",
55
- "url": "/confirmation",
55
+ "url": "confirmation",
56
56
  "components": []
57
57
  }
58
58
  ],
@@ -16,19 +16,19 @@
16
16
  {
17
17
  "_id": "config.meta--link",
18
18
  "_type": "link",
19
- "href": "/cookies",
19
+ "href": "cookies",
20
20
  "text": "Cookies"
21
21
  },
22
22
  {
23
23
  "_id": "config.meta--link--2",
24
24
  "_type": "link",
25
- "href": "/privacy",
25
+ "href": "privacy",
26
26
  "text": "Privacy"
27
27
  },
28
28
  {
29
29
  "_id": "config.meta--link--3",
30
30
  "_type": "link",
31
- "href": "/accessibility",
31
+ "href": "accessibility",
32
32
  "text": "Accessibility"
33
33
  }
34
34
  ]
@@ -65,7 +65,7 @@
65
65
  }
66
66
  ],
67
67
  "heading": "Your name",
68
- "url": "/name"
68
+ "url": "name"
69
69
  },
70
70
  {
71
71
  "_id": "page.email-address",
@@ -96,7 +96,7 @@
96
96
  }
97
97
  }
98
98
  ],
99
- "url": "/email-address"
99
+ "url": "email-address"
100
100
  },
101
101
  {
102
102
  "_id": "page.parent_name",
@@ -113,7 +113,7 @@
113
113
  }
114
114
  ],
115
115
  "heading": "Parent name",
116
- "url": "/parent-name"
116
+ "url": "parent-name"
117
117
  }
118
118
  ],
119
119
  "standalone_pages": [],
@@ -24,19 +24,19 @@
24
24
  "items": [
25
25
  {
26
26
  "_id": "config.meta--link",
27
- "href": "/cookies",
27
+ "href": "cookies",
28
28
  "text": "Cookies",
29
29
  "_type": "link"
30
30
  },
31
31
  {
32
32
  "_id": "config.meta--link--2",
33
- "href": "/privacy",
33
+ "href": "privacy",
34
34
  "text": "Privacy",
35
35
  "_type": "link"
36
36
  },
37
37
  {
38
38
  "_id": "config.meta--link--3",
39
- "href": "/accessibility",
39
+ "href": "accessibility",
40
40
  "text": "Accessibility",
41
41
  "_type": "link"
42
42
  }
@@ -50,7 +50,7 @@
50
50
  "standalone_pages": [
51
51
  {
52
52
  "_id": "page.cookies",
53
- "url": "/cookies",
53
+ "url": "cookies",
54
54
  "body": "This online form puts a small file (known as ‘cookies’) onto your computer to collect information about how you browse the site.\r\n\r\nCookies are used to:\r\n\r\n- remember your progress\r\n- measure how you use the website so it can be updated and improved based on your needs\r\n\r\nThis online form's cookie isn't used to identify you personally.\r\n\r\nYou'll normally see a message on the site before we store a cookie on your computer.\r\n\r\nFind out more about [how to manage cookies](https://www.aboutcookies.org/).\r\n\r\n##How cookies are used on this online form\r\n\r\nWe will store a cookie to remember your progress on this computer and to expire your session after 30 minutes of inactivity or when you close your browser.\r\n\r\n| Name | Purpose | Expires |\r\n|---|---|---|\r\n| _fb_runner_session | Saves your current progress in this computer and tracks inactivity periods | After 30 minutes of inactivity or when you close your browser |",
55
55
  "_type": "page.standalone",
56
56
  "_uuid": "4cfdb39e-75ef-4f46-a143-e2db99bf0bf3",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  {
61
61
  "_id": "page.privacy",
62
- "url": "/privacy",
62
+ "url": "privacy",
63
63
  "body": "This privacy notice explains what [insert your organisation name] means when we talk about personal data, why we ask for this information about you and what we do with it when you use this form.\r\n\r\nIt also explains how we store your data, how you can get a copy of the information we’ve collected about you and how you can complain if you think we’ve done something wrong.\r\n\r\n###Who manages this service\r\n\r\nThis form is managed by [your organisation].\r\n\r\nThe information you submit will be processed by [insert who will be processing the information and, if it’s a separate organisation, what their relationship is to you].\r\n\r\n[Insert name of organisation that acts as data controller for your form] is the data controller for the personal data collected by this form.\r\n\r\n###When we ask for personal data\r\n\r\nWhenever we ask for information about you, we promise to:\r\n\r\n- always let you know why we need it\r\n- ask for relevant personal information only\r\n- make sure we do not keep it longer than needed\r\n- keep your information safe and make sure nobody can access it unless authorised to do so\r\n- only share your data with other organisations for legitimate purposes\r\n- consider any request you make to correct or delete your personal data\r\n\r\nWe also promise to make it easy for you to:\r\n\r\n- tell us at any time if you want us to stop storing your personal data\r\n- make a complaint to the supervisory authority\r\n\r\n###The personal data we collect\r\n\r\nWe only collect personal data that you directly provide with your application.\r\n\r\nWe only collect the information we need to deliver this service to you. The personal data collected includes:\r\n\r\n- [summarise the types of personal information requested by your form]\r\n\r\nWe [use cookies](http://www.aboutcookies.org.uk/managing-cookies) to collect data that tells us about how the service is used, including:\r\n\r\n- your computer, phone or tablet’s IP address\r\n\r\n- the region or town where you are using your computer, phone or tablet\r\n\r\n- the operating system and web browser you use\r\n\r\nThis information is not used to identify you personally.\r\n\r\n###Why we collect your personal data\r\n\r\nWe collect data to [describe why you are collecting personal information]. The processing of your personal data is necessary for [explain why you require the personal information].\r\n\r\nThe legal basis for collecting and processing your personal data is [enter and explain your legal basis here, for example, that it is necessary to perform a task in the public interest or\nin the exercise of your functions as a government department].\r\n\r\nUse of the online form is voluntary. If you do not provide all the information we ask for, we may not be able to process your [insert the purpose of your form, such as claim, application or request].\r\n\r\nPlease note that transmitting information over the internet is generally not completely secure, and [your organisation] can’t guarantee the security of your data. Any data you transmit is at your own risk. [your organisation, and any other organisations involved in processing the data] have procedures and security features in place to keep your data secure once we receive it.\r\n\r\n###Sharing your personal data\r\n\r\nThe information you provide will be shared with… [name any organisations that you might share the data with and provide an explanation of why the information may be shared and what it will be used for]\r\n\r\nWe may also use your contact information to ask for feedback on using the service, but only when you have given your consent for us to do so. [delete this paragraph if not applicable]\r\n\r\nWe’ll never share your information with other organisations for marketing, market research or commercial purposes.\r\n\r\n###Keeping your personal data\r\n\r\nTo protect your personal information, any data you enter as you progress through the online form is held temporarily and securely until you submit your application, after which your application cannot be viewed or modified further online.\r\n\r\n[your organisation, and any other organisations involved in processing the data] will keep your data for [specify how long you will keep the information for and why].\r\n\r\nAll deleted data will be destroyed securely and confidentially.\r\n\r\n###How we use your personal data\r\n\r\nYour online submission will be sent from the online form to [your organisation or whichever other organisation will receive the information for processing] via encrypted email. The system does not retain a copy of your information.\r\n\r\n[select one of the following 3 paragraphs which most closely fits your circumstances and delete the other 2]\r\n\r\nYour personal data is not used in any automated decision making (a decision made solely by automated means without any human involvement) or profiling (automated processing of personal data to evaluate certain conditions about an individual).\r\n\r\nAutomated decision making (a decision made solely by automated means without any human involvement) is used for the purpose of [insert why ADM is used] and is carried out [include when in the process this is carried out]. The personal data used for this purpose includes [insert personal data types].\r\n\r\nProfiling (automated processing of personal data to evaluate certain conditions about an individual) is carried out for the purpose of [insert reason why profiling exists]. The personal data used for this purpose includes [insert personal data types].\r\n\r\n###How we store your personal data\r\n\r\n[your organisation or whichever other organisation will receive the information for processing] take data security very seriously and take every step to ensure that your data remains private and secure. All data collected by this service is stored in a secure database [kept entirely within the UK/kept outside of the UK but within the European Economic Area (EEA). - delete as appropriate]\r\n\r\nIt may sometimes be necessary to transfer personal information overseas, outside of the UK and the European Economic Area (EEA). When this is needed information may be transferred to [insert names of countries]. Any transfers made will be in full compliance with all aspects of the data protection law. [delete this paragraph if not applicable or contact your data protection team for guidance on required safeguards] \r\n\r\nYour application will only be accessible to [your organisation, and any other organisations involved in processing the data] staff who require access to process applications.\r\n\r\n###Your rights\r\n\r\nYou have a number of rights, depending on the reason for processing your information. These include:\r\n\r\n- the right to request a copy of your personal data and information about how your personal data is processed (this is known as a subject access request)\r\n- the right to have inaccuracies in your personal data corrected\r\n- the right to fill in any gaps in your personal data, including by means of a supplementary statement\r\n- the right to ask for the processing of your personal data to be restricted\r\n- the right to ask for your personal data to be deleted if there is no longer a justification for it\r\n- the right to object to automated decision making, including profiling, that has a legal or significant effect on you as an individual\r\n\r\nIf you want to see the personal data that we hold on you, you can make a subject access request. Send your request by post to:\r\n\r\nDisclosure Team \r\nPost point 10.25 \r\n102 Petty France \r\nLondon \r\nSW1H 9AJ\r\n\r\nor email: data.access@justice.gov.uk\r\n\r\nFor all other rights, please write to us at:\r\n\r\n[insert your postal and email addresses]\r\n\r\n###Getting more information\r\n\r\nYou can get more details on:\r\n\r\n- agreements we have with other organisations for sharing information\r\n- when we can pass on personal information without telling you, for example, to help with the prevention or detection of crime or to produce anonymised statistics\r\n- instructions we give to staff on how to collect, use or delete your personal information\r\n- how we check that the information we have is accurate and up-to-date\r\n- how to make a complaint\r\n\r\nFor more information, please contact the [your organisation] data protection officer at:\r\n\r\n[insert the postal and email addresses of your data protection officer - for the MoJ, this is:\r\n\r\nThe Data Protection Officer \r\nMinistry of Justice \r\n10 South Colonnade\nCanary Wharf \r\nLondon \r\nE14 4PU\r\n\r\nEmail: DPO@justice.gov.uk]\r\n\r\n###Making a complaint\r\n\r\nWhen we ask you for information, we will keep to the law. If you think that your information has not been handled correctly, you can contact the [Information Commissioner](https://ico.org.uk/) for independent advice about data protection on the address below:\r\n\r\nInformation Commissioner's Office \r\nWycliffe House \r\nWater Lane \r\nWilmslow \r\nCheshire \r\nSK9 5AF\r\n\r\nTelephone: 0303 123 1113",
64
64
  "_type": "page.standalone",
65
65
  "_uuid": "9fe1f0ba-de2a-4dc5-b36e-0afc5562a6f4",
@@ -68,7 +68,7 @@
68
68
  },
69
69
  {
70
70
  "_id": "page.accessibility",
71
- "url": "/accessibility",
71
+ "url": "accessibility",
72
72
  "body": "This accessibility statement applies to [describe your form here - for example, the general enquiries form for the CICA]. There is a separate [accessibility statement for the main GOV.UK website](https://www.gov.uk/help/accessibility-statement).\r\n\r\n###Using this online form\r\n\r\nThis form was built using MoJ Forms, a tool developed by the Ministry of Justice, and uses components from the [GOV.UK Design System](https://design-system.service.gov.uk/).\r\n\r\n[insert your organisation here] is responsible for the content of this online form. The Ministry of Justice is responsible for its technical aspects.\r\n\r\nWe want as many people as possible to be able to use this online form. For example, that means you should be able to:\r\n\r\n- change colours, contrast levels and fonts\r\n- zoom in up to 300% without the text spilling off the screen\r\n- navigate the form using just a keyboard\r\n- navigate the form using speech recognition software\r\n- listen to the form using a screen reader (including recent versions of JAWS, NVDA and VoiceOver)\r\n\r\nWe’ve also made the text as simple as possible to understand.\r\n\r\n[AbilityNet](https://mcmw.abilitynet.org.uk/) has advice on making your device easier to use if you have a disability.\r\n\r\n###How accessible this form is\r\n\r\nWe know some parts of this form are not fully accessible:\r\n\r\n- pages have no skip links\r\n- the language attribute of the page has not been set in the HTML\r\n- some pages may contain empty headings\r\n- some content may be cut off or appear truncated when zooming in\r\n\r\n###Feedback and contact information\r\n\r\nIf you need information on this website in a different format:\r\n\r\n[insert your contact details for user requests here - add other channels, such as text phones or Relay UK, as required]\r\n\r\n- email: [your email address]\r\n- call: [your telephone number]\r\n- [Hours - e.g. Monday to Friday, 9am to 5pm]\r\n\r\n###Enforcement procedure\r\n\r\nThe Equality and Human Rights Commission (EHRC) is responsible for enforcing the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 (the ‘accessibility regulations’). If you’re not happy with how we respond to your complaint, contact the [Equality Advisory and Support Service (EASS)](https://www.equalityadvisoryservice.com/).\r\n\r\n###Technical information about this online form’s accessibility\r\n\r\nWe are committed to making our online forms and services accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.\r\n\r\n####Compliance status\r\n\r\nThis online form is partially compliant with the [Web Content Accessibility Guidelines version 2.1 AA standard](https://www.w3.org/TR/WCAG21/), due to the non-compliances listed below.\r\n\r\n###Non-accessible content\r\n\r\nThe content listed below is non-accessible for the following reasons.\r\n\r\n####Non compliance with the accessibility regulations\r\n\r\n1. Pages have no skip links. This issue may affect screen reader and keyboard users who use skip links to bypass repeated content such as headers and navigation menus to skip directly to the main page content.\r\n2. The language attribute of the page has not been set in the HTML. This may cause confusion to screen reader users who may not be able to identify the primary language of the page in their journey.\r\n3. Some pages may contain empty headings, including on the check answers page. As a result, screen reader users may have difficulty navigating these pages.\n4. Some content may be cut off or appear truncated when zooming in. This issue may affect low-vision users navigating the form who use reflow settings to view web pages.\r\n\r\nWe plan to fix these issues by July 2021.\r\n\r\n###Preparation of this accessibility statement\r\n\r\nThis statement was prepared on [date when it was first published]. It was last reviewed on [date when it was last reviewed].\r\n\r\nThis form was last tested on [date when you performed your basic accessibility check].\r\n\r\nIn order to test the compliance of all forms built using the MoJ Forms tool, the Ministry of Justice commissioned The Digital Accessibility Centre (DAC) to carry out a WCAG 2.1 AA level audit of a sample form. This included extensive testing by users with a wide range of disabilities. The audit was performed on 8 April 2021.\r\n\r\nIn addition, this form was tested by [insert team or organisation here]. It was tested using the [WAVE Web Accessibility Evaluation Tool](https://wave.webaim.org/) following guidance from the Ministry of Justice and Government Digital Service (GDS).\r\n\r\n###What we’re doing to improve accessibility\r\n\r\nWe will monitor the accessibility of this website on an ongoing basis and fix any accessibility issues reported to us.",
73
73
  "_type": "page.standalone",
74
74
  "_uuid": "31c4e4f7-2790-41ad-935a-50f7061fb1f1",
@@ -187,7 +187,7 @@
187
187
  "hint": "",
188
188
  "name": "do-you-like-star-wars_radios_1",
189
189
  "_type": "radio",
190
- "_uuid": "ac41be35-914e-4b22-8683-f5477716b7d4",
190
+ "_uuid": "c5571937-9388-4411-b5fa-34ddf9bc4ca0",
191
191
  "label": "Only on weekends",
192
192
  "value": "value-1",
193
193
  "errors": {},
@@ -202,7 +202,7 @@
202
202
  "hint": "",
203
203
  "name": "do-you-like-star-wars_radios_1",
204
204
  "_type": "radio",
205
- "_uuid": "ac41be35-914e-4b22-8683-f5477716b7d4",
205
+ "_uuid": "67160ff1-6f7c-43a8-8bf6-49b3d5f450f6",
206
206
  "label": "Hell no!",
207
207
  "value": "value-2",
208
208
  "errors": {},
@@ -269,7 +269,7 @@
269
269
  "hint": "",
270
270
  "name": "burgers_checkboxes_1",
271
271
  "_type": "checkbox",
272
- "_uuid": "4c409737-80bb-48c7-afa7-6e9360b65004",
272
+ "_uuid": "3251098f-c8e0-4ac5-a637-95fd2e1c4dc4",
273
273
  "label": "Beef, cheese, tomato",
274
274
  "value": "value-1",
275
275
  "errors": {},
@@ -284,7 +284,7 @@
284
284
  "hint": "",
285
285
  "name": "burgers_checkboxes_1",
286
286
  "_type": "checkbox",
287
- "_uuid": "4c409737-80bb-48c7-afa7-6e9360b65004",
287
+ "_uuid": "a0717bbd-0b9f-47a0-bf2b-2a9d208e1168",
288
288
  "label": "Chicken, cheese, tomato",
289
289
  "value": "value-2",
290
290
  "errors": {},
@@ -359,7 +359,7 @@
359
359
  "hint": "",
360
360
  "name": "star-wars-knowledge_radios_1",
361
361
  "_type": "radio",
362
- "_uuid": "51efe2ca-fc47-4584-8129-e91589a46b9e",
362
+ "_uuid": "1b6c5734-04bf-49fa-928a-2e9bbbb09f8c",
363
363
  "label": "Harry Potter",
364
364
  "value": "value-1",
365
365
  "errors": {},
@@ -374,7 +374,7 @@
374
374
  "hint": "",
375
375
  "name": "star-wars-knowledge_radios_1",
376
376
  "_type": "radio",
377
- "_uuid": "51efe2ca-fc47-4584-8129-e91589a46b9e",
377
+ "_uuid": "693edfd9-883b-4a6f-95b4-202849395d3d",
378
378
  "label": "Din Jarrin",
379
379
  "value": "value-2",
380
380
  "errors": {},
@@ -389,7 +389,7 @@
389
389
  "hint": "",
390
390
  "name": "star-wars-knowledge_radios_1",
391
391
  "_type": "radio",
392
- "_uuid": "51efe2ca-fc47-4584-8129-e91589a46b9e",
392
+ "_uuid": "7bbd84ab-b7c9-49ec-be76-a94c460acac4",
393
393
  "label": "Tony Stark",
394
394
  "value": "value-3",
395
395
  "errors": {},
@@ -487,19 +487,19 @@
487
487
  "items": [
488
488
  {
489
489
  "_id": "config.meta--link",
490
- "href": "/cookies",
490
+ "href": "cookies",
491
491
  "text": "Cookies",
492
492
  "_type": "link"
493
493
  },
494
494
  {
495
495
  "_id": "config.meta--link--2",
496
- "href": "/privacy",
496
+ "href": "privacy",
497
497
  "text": "Privacy",
498
498
  "_type": "link"
499
499
  },
500
500
  {
501
501
  "_id": "config.meta--link--3",
502
- "href": "/accessibility",
502
+ "href": "accessibility",
503
503
  "text": "Accessibility",
504
504
  "_type": "link"
505
505
  }
@@ -513,7 +513,7 @@
513
513
  "standalone_pages": [
514
514
  {
515
515
  "_id": "page.cookies",
516
- "url": "/cookies",
516
+ "url": "cookies",
517
517
  "body": "This online form puts a small file (known as ‘cookies’) onto your computer to collect information about how you browse the site.\r\n\r\nCookies are used to:\r\n\r\n- remember your progress\r\n- measure how you use the website so it can be updated and improved based on your needs\r\n\r\nThis online form's cookie isn't used to identify you personally.\r\n\r\nYou'll normally see a message on the site before we store a cookie on your computer.\r\n\r\nFind out more about [how to manage cookies](https://www.aboutcookies.org/).\r\n\r\n##How cookies are used on this online form\r\n\r\nWe will store a cookie to remember your progress on this computer and to expire your session after 30 minutes of inactivity or when you close your browser.\r\n\r\n- name: _fb_runner_session\r\n- purpose: saves your current progress in this computer and tracks inactivity periods\r\n- expires: after 30 minutes of inactivity or when you close your browser",
518
518
  "_type": "page.standalone",
519
519
  "_uuid": "fd52e7c0-03f7-4001-ae7e-f2e4142b0ccc",
@@ -522,7 +522,7 @@
522
522
  },
523
523
  {
524
524
  "_id": "page.privacy",
525
- "url": "/privacy",
525
+ "url": "privacy",
526
526
  "body": "This privacy notice explains what [insert your organisation name] means when we talk about personal data, why we ask for this information about you and what we do with it when you use this form.\r\n\r\nIt also explains how we store your data, how you can get a copy of the information we’ve collected about you and how you can complain if you think we’ve done something wrong.\r\n\r\n###Who manages this service\r\n\r\nThis form is managed by [your organisation].\r\n\r\nThe information you submit will be processed by [insert who will be processing the information and, if it’s a separate organisation, what their relationship is to you].\r\n\r\n[Insert name of organisation that acts as data controller for your form] is the data controller for the personal data collected by this form.\r\n\r\n###When we ask for personal data\r\n\r\nWhenever we ask for information about you, we promise to:\r\n\r\n- always let you know why we need it\r\n- ask for relevant personal information only\r\n- make sure we do not keep it longer than needed\r\n- keep your information safe and make sure nobody can access it unless authorised to do so\r\n- only share your data with other organisations for legitimate purposes\r\n- consider any request you make to correct or delete your personal data\r\n\r\nWe also promise to make it easy for you to:\r\n\r\n- tell us at any time if you want us to stop storing your personal data\r\n- make a complaint to the supervisory authority\r\n\r\n###The personal data we collect\r\n\r\nWe only collect personal data that you directly provide with your application.\r\n\r\nWe only collect the information we need to deliver this service to you. The personal data collected includes:\r\n\r\n- [summarise the types of personal information requested by your form]\r\n\r\nWe [use cookies](http://www.aboutcookies.org.uk/managing-cookies) to collect data that tells us about how the service is used, including:\r\n\r\n- your computer, phone or tablet’s IP address\r\n\r\n- the region or town where you are using your computer, phone or tablet\r\n\r\n- the operating system and web browser you use\r\n\r\nThis information is not used to identify you personally.\r\n\r\n###Why we collect your personal data\r\n\r\nWe collect data to [describe why you are collecting personal information]. The processing of your personal data is necessary for [explain why you require the personal information].\r\n\r\nThe legal basis for collecting and processing your personal data is [enter and explain your legal basis here, for example, that it is necessary to perform a task in the public interest or\nin the exercise of your functions as a government department].\r\n\r\nUse of the online form is voluntary. If you do not provide all the information we ask for, we may not be able to process your [insert the purpose of your form, such as claim, application or request].\r\n\r\nPlease note that transmitting information over the internet is generally not completely secure, and [your organisation] can’t guarantee the security of your data. Any data you transmit is at your own risk. [your organisation, and any other organisations involved in processing the data] have procedures and security features in place to keep your data secure once we receive it.\r\n\r\n###Sharing your personal data\r\n\r\nThe information you provide will be shared with… [name any organisations that you might share the data with and provide an explanation of why the information may be shared and what it will be used for]\r\n\r\nWe may also use your contact information to ask for feedback on using the service, but only when you have given your consent for us to do so. [delete this paragraph if not applicable]\r\n\r\nWe’ll never share your information with other organisations for marketing, market research or commercial purposes.\r\n\r\n###Keeping your personal data\r\n\r\nTo protect your personal information, any data you enter as you progress through the online form is held temporarily and securely until you submit your application, after which your application cannot be viewed or modified further online.\r\n\r\n[your organisation, and any other organisations involved in processing the data] will keep your data for [specify how long you will keep the information for and why].\r\n\r\nAll deleted data will be destroyed securely and confidentially.\r\n\r\n###How we use your personal data\r\n\r\nYour online submission will be sent from the online form to [your organisation or whichever other organisation will receive the information for processing] via encrypted email. The system does not retain a copy of your information.\r\n\r\n[select one of the following 3 paragraphs which most closely fits your circumstances and delete the other 2]\r\n\r\nYour personal data is not used in any automated decision making (a decision made solely by automated means without any human involvement) or profiling (automated processing of personal data to evaluate certain conditions about an individual).\r\n\r\nAutomated decision making (a decision made solely by automated means without any human involvement) is used for the purpose of [insert why ADM is used] and is carried out [include when in the process this is carried out]. The personal data used for this purpose includes [insert personal data types].\r\n\r\nProfiling (automated processing of personal data to evaluate certain conditions about an individual) is carried out for the purpose of [insert reason why profiling exists]. The personal data used for this purpose includes [insert personal data types].\r\n\r\n###How we store your personal data\r\n\r\n[your organisation or whichever other organisation will receive the information for processing] take data security very seriously and take every step to ensure that your data remains private and secure. All data collected by this service is stored in a secure database [kept entirely within the UK/kept outside of the UK but within the European Economic Area (EEA). - delete as appropriate]\r\n\r\nIt may sometimes be necessary to transfer personal information overseas, outside of the UK and the European Economic Area (EEA). When this is needed information may be transferred to [insert names of countries]. Any transfers made will be in full compliance with all aspects of the data protection law. [delete this paragraph if not applicable or contact your data protection team for guidance on required safeguards] \r\n\r\nYour application will only be accessible to [your organisation, and any other organisations involved in processing the data] staff who require access to process applications.\r\n\r\n###Your rights\r\n\r\nYou have a number of rights, depending on the reason for processing your information. These include:\r\n\r\n- the right to request a copy of your personal data and information about how your personal data is processed (this is known as a subject access request)\r\n- the right to have inaccuracies in your personal data corrected\r\n- the right to fill in any gaps in your personal data, including by means of a supplementary statement\r\n- the right to ask for the processing of your personal data to be restricted\r\n- the right to ask for your personal data to be deleted if there is no longer a justification for it\r\n- the right to object to automated decision making, including profiling, that has a legal or significant effect on you as an individual\r\n\r\nIf you want to see the personal data that we hold on you, you can make a subject access request. Send your request by post to:\r\n\r\nDisclosure Team \r\nPost point 10.25 \r\n102 Petty France \r\nLondon \r\nSW1H 9AJ\r\n\r\nor email: data.access@justice.gov.uk\r\n\r\nFor all other rights, please write to us at:\r\n\r\n[insert your postal and email addresses]\r\n\r\n###Getting more information\r\n\r\nYou can get more details on:\r\n\r\n- agreements we have with other organisations for sharing information\r\n- when we can pass on personal information without telling you, for example, to help with the prevention or detection of crime or to produce anonymised statistics\r\n- instructions we give to staff on how to collect, use or delete your personal information\r\n- how we check that the information we have is accurate and up-to-date\r\n- how to make a complaint\r\n\r\nFor more information, please contact the [your organisation] data protection officer at:\r\n\r\n[insert the postal and email addresses of your data protection officer - for the MoJ, this is:\r\n\r\nThe Data Protection Officer \r\nMinistry of Justice \r\n10 South Colonnade\nCanary Wharf \r\nLondon \r\nE14 4PU\r\n\r\nEmail: DPO@justice.gov.uk]\r\n\r\n###Making a complaint\r\n\r\nWhen we ask you for information, we will keep to the law. If you think that your information has not been handled correctly, you can contact the [Information Commissioner](https://ico.org.uk/) for independent advice about data protection on the address below:\r\n\r\nInformation Commissioner's Office \r\nWycliffe House \r\nWater Lane \r\nWilmslow \r\nCheshire \r\nSK9 5AF\r\n\r\nTelephone: 0303 123 1113",
527
527
  "_type": "page.standalone",
528
528
  "_uuid": "4b86fe8c-7723-4cce-9378-7b2510279e04",
@@ -531,7 +531,7 @@
531
531
  },
532
532
  {
533
533
  "_id": "page.accessibility",
534
- "url": "/accessibility",
534
+ "url": "accessibility",
535
535
  "body": "This accessibility statement applies to [describe your form here - for example, the general enquiries form for the CICA]. There is a separate [accessibility statement for the main GOV.UK website](https://www.gov.uk/help/accessibility-statement).\r\n\r\n###Using this online form\r\n\r\nThis form was built using MoJ Forms, a tool developed by the Ministry of Justice, and uses components from the [GOV.UK Design System](https://design-system.service.gov.uk/).\r\n\r\n[insert your organisation here] is responsible for the content of this online form. The Ministry of Justice is responsible for its technical aspects.\r\n\r\nWe want as many people as possible to be able to use this online form. For example, that means you should be able to:\r\n\r\n- change colours, contrast levels and fonts\r\n- zoom in up to 300% without the text spilling off the screen\r\n- navigate the form using just a keyboard\r\n- navigate the form using speech recognition software\r\n- listen to the form using a screen reader (including recent versions of JAWS, NVDA and VoiceOver)\r\n\r\nWe’ve also made the text as simple as possible to understand.\r\n\r\n[AbilityNet](https://mcmw.abilitynet.org.uk/) has advice on making your device easier to use if you have a disability.\r\n\r\n###How accessible this form is\r\n\r\nWe know some parts of this form are not fully accessible:\r\n\r\n- pages have no skip links\r\n- the language attribute of the page has not been set in the HTML\r\n- some pages may contain empty headings\r\n- some content may be cut off or appear truncated when zooming in\r\n\r\n###Feedback and contact information\r\n\r\nIf you need information on this website in a different format:\r\n\r\n[insert your contact details for user requests here - add other channels, such as text phones or Relay UK, as required]\r\n\r\n- email: [your email address]\r\n- call: [your telephone number]\r\n- [Hours - e.g. Monday to Friday, 9am to 5pm]\r\n\r\n###Enforcement procedure\r\n\r\nThe Equality and Human Rights Commission (EHRC) is responsible for enforcing the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018 (the ‘accessibility regulations’). If you’re not happy with how we respond to your complaint, contact the [Equality Advisory and Support Service (EASS)](https://www.equalityadvisoryservice.com/).\r\n\r\n###Technical information about this online form’s accessibility\r\n\r\nWe are committed to making our online forms and services accessible, in accordance with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018.\r\n\r\n####Compliance status\r\n\r\nThis online form is partially compliant with the [Web Content Accessibility Guidelines version 2.1 AA standard](https://www.w3.org/TR/WCAG21/), due to the non-compliances listed below.\r\n\r\n###Non-accessible content\r\n\r\nThe content listed below is non-accessible for the following reasons.\r\n\r\n####Non compliance with the accessibility regulations\r\n\r\n1. Pages have no skip links. This issue may affect screen reader and keyboard users who use skip links to bypass repeated content such as headers and navigation menus to skip directly to the main page content.\r\n2. The language attribute of the page has not been set in the HTML. This may cause confusion to screen reader users who may not be able to identify the primary language of the page in their journey.\r\n3. Some pages may contain empty headings, including on the check answers page. As a result, screen reader users may have difficulty navigating these pages.\n4. Some content may be cut off or appear truncated when zooming in. This issue may affect low-vision users navigating the form who use reflow settings to view web pages.\r\n\r\nWe plan to fix these issues by July 2021.\r\n\r\n###Preparation of this accessibility statement\r\n\r\nThis statement was prepared on [date when it was first published]. It was last reviewed on [date when it was last reviewed].\r\n\r\nThis form was last tested on [date when you performed your basic accessibility check].\r\n\r\nIn order to test the compliance of all forms built using the MoJ Forms tool, the Ministry of Justice commissioned The Digital Accessibility Centre (DAC) to carry out a WCAG 2.1 AA level audit of a sample form. This included extensive testing by users with a wide range of disabilities. The audit was performed on 8 April 2021.\r\n\r\nIn addition, this form was tested by [insert team or organisation here]. It was tested using the [WAVE Web Accessibility Evaluation Tool](https://wave.webaim.org/) following guidance from the Ministry of Justice and Government Digital Service (GDS).\r\n\r\n###What we’re doing to improve accessibility\r\n\r\nWe will monitor the accessibility of this website on an ongoing basis and fix any accessibility issues reported to us.",
536
536
  "_type": "page.standalone",
537
537
  "_uuid": "c439c7fd-f411-4e11-8598-4023934bac93",
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '1.0.1'.freeze
2
+ VERSION = '1.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata_presenter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - MoJ Online
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-22 00:00:00.000000000 Z
11
+ date: 2021-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_design_system_formbuilder