metadata_presenter 2.18.3 → 2.18.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d095e72ae5ace4da89c15e9fe4ec82f4436b55729f8e34ecb70ac0e0dd2ce4b0
|
4
|
+
data.tar.gz: d88608ab1a4ea5867744fa6ed1ad0a04b4aae330db4a4f215aea2b436c67667b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d4186100c3c167dd89d58c63fe5367e0d76549af68544075b49bc5b96229278e9fb45bc22d1efc096090ad1b1f49e69b90b5485347263369d04c7aceb1d9cf9
|
7
|
+
data.tar.gz: dfc74a78d0652519086729b954374d0fceb9396fe20d1ea1195f9062f1e983b3e6163dabf1a0273b5fbb976ff83d8581fadf43438d862f20296b13cd78163178
|
@@ -1,20 +1,20 @@
|
|
1
1
|
<% components.each_with_index do |component, index| %>
|
2
|
-
<div class="fb-editable"
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
<div class="fb-editable govuk-!-margin-top-8"
|
3
|
+
id="<%= component.id %>"
|
4
|
+
data-fb-content-type="<%= component.type %>"
|
5
|
+
data-fb-content-id="<%= "page[#{component.collection}[#{index}]]" %>"
|
6
|
+
data-fb-content-data="<%= component.to_json %>">
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
8
|
+
<%= render partial: component, locals: {
|
9
|
+
f: f,
|
10
|
+
component: component,
|
11
|
+
component_id: "page[#{component.collection}[#{index}]]",
|
12
|
+
input_title: main_title(
|
13
|
+
component: component,
|
14
|
+
tag: :h2,
|
15
|
+
classes: classes
|
16
|
+
)
|
17
|
+
}
|
18
|
+
%>
|
19
19
|
</div>
|
20
20
|
<% end %>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"_id": "page.start",
|
3
3
|
"_type": "page.start",
|
4
4
|
"heading": "Service name goes here",
|
5
|
-
"body": "Use this service to:\r\n\r\n*
|
6
|
-
"before_you_start": "
|
5
|
+
"body": "Use this service to apply for a service or contact us about a case.\r\n\r\n## Before you start\r\nYou will need:\r\n\r\n* your 8-digit reference number\r\n* a copy of your photo ID\r\n* something else\r\n\r\nThis form will take around 5 minutes to complete. We will reply within 10 working days.",
|
6
|
+
"before_you_start": "## Other ways to get in touch\r\nYou can also apply or contact us about your case by:\r\n\r\n* telephone: 01234 567889\r\n* email: <example.service@justice.gov.uk>\r\n\r\nThis form is also [available in Welsh (Cymraeg)](https://example-service.form.service.justice.gov.uk/).",
|
7
7
|
"url": "/"
|
8
8
|
}
|
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: 2.18.
|
4
|
+
version: 2.18.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MoJ Forms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: govuk_design_system_formbuilder
|