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: 05e70ac477a748b0c35a6f17e582a4aa3794fa45e1acf863ca52b0d48f27624a
4
- data.tar.gz: 45aa93c82048bc00488cd38142cc0d6ead193f7c5422828bdbe8220927163f51
3
+ metadata.gz: d095e72ae5ace4da89c15e9fe4ec82f4436b55729f8e34ecb70ac0e0dd2ce4b0
4
+ data.tar.gz: d88608ab1a4ea5867744fa6ed1ad0a04b4aae330db4a4f215aea2b436c67667b
5
5
  SHA512:
6
- metadata.gz: 695a332eecb9bc00d02cf9952041ff42b46fb0bb2a95fd06bc02cb637f9c9cc95a768fb0f5946622d1336ee70616d78ca616ce440d6dc2dfbda9a778fd344701
7
- data.tar.gz: cb02c135fd219f7877e5766405746e68fc2bbb5e35d52e63bab6aa09990de8e207e03e771556a1a8e02dff9c8e2206650cef8370f2db788254eb01b4b229d23d
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
- 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 %>">
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
- <%= 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
- %>
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 %>
@@ -12,7 +12,7 @@
12
12
  f: f,
13
13
  components: @page.components,
14
14
  tag: :h2,
15
- classes: 'govuk-heading-m govuk-!-margin-top-8',
15
+ classes: 'govuk-heading-m',
16
16
  input_components: @page.supported_input_components,
17
17
  content_components: @page.supported_content_components
18
18
  }
@@ -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* do something\r\n* update your name, address or other details\r\n* do something else\r\n\r\nRegistering takes around 5 minutes.",
6
- "before_you_start": "###Before you start\r\nYou can also register by post.\r\n\r\nThe online service is also available in Welsh (Cymraeg).\r\n\r\nYou cannot register for this service if you’re in the UK illegally.",
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
  }
@@ -1,3 +1,3 @@
1
1
  module MetadataPresenter
2
- VERSION = '2.18.3'.freeze
2
+ VERSION = '2.18.5'.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: 2.18.3
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-13 00:00:00.000000000 Z
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