metadata_presenter 0.14.1 → 0.14.2
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: e734af87f9a4682f32efe7a2b91aac95f11cbbb7ad64381fb8c65577618d6ebc
|
|
4
|
+
data.tar.gz: 427c3c1799e4052526343ef30589ca289bd513fb6c80ad13c6f6e449783fae1b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c34c9b019d624f74b8924f04a9a01d22891d86d5f3bb4f803c25f0a15c8d56cc59d58fe4a51c5f968946f435aeaecba24c235453853dca00e31d034109b113f
|
|
7
|
+
data.tar.gz: 2df23b52496f0a3d37eab244b79d365f59d124fd46d390b5041fffea198709ecaf402d29a92cbce669055803c337c0809b8497d1e7d3967c24584764e5594165
|
|
@@ -1,25 +1,33 @@
|
|
|
1
1
|
<div class="govuk-grid-row">
|
|
2
2
|
<div class="govuk-grid-column-two-thirds">
|
|
3
3
|
<% if @page.section_heading.present? %>
|
|
4
|
-
<p class="govuk-caption-l fb-section-heading"
|
|
4
|
+
<p class="govuk-caption-l fb-section-heading"
|
|
5
|
+
data-fb-content-type="element"
|
|
6
|
+
data-fb-content-id="page[section_heading]">
|
|
5
7
|
<%= @page.section_heading %>
|
|
6
8
|
</p>
|
|
7
9
|
<% end %>
|
|
8
10
|
|
|
9
11
|
<% if @page.heading.present? %>
|
|
10
|
-
<h1 class="
|
|
12
|
+
<h1 class="fb-editable fb-editable govuk-heading-xl"
|
|
13
|
+
data-fb-content-type="element"
|
|
14
|
+
data-fb-content-id="page[heading]">
|
|
11
15
|
<%= @page.heading %>
|
|
12
16
|
</h1>
|
|
13
17
|
<% end %>
|
|
14
18
|
|
|
15
19
|
<% if @page.lede.present? %>
|
|
16
|
-
<p class="govuk-body-l"
|
|
20
|
+
<p class="fb-editable govuk-body-l"
|
|
21
|
+
data-fb-content-type="element"
|
|
22
|
+
data-fb-content-id="page[lede]">
|
|
17
23
|
<%= @page.lede %>
|
|
18
24
|
</p>
|
|
19
25
|
<% end %>
|
|
20
26
|
|
|
21
27
|
<% if @page.body.present? %>
|
|
22
|
-
<div class="fb-body govuk-prose-scope"
|
|
28
|
+
<div class="fb-editable fb-body govuk-prose-scope"
|
|
29
|
+
data-fb-content-type="content"
|
|
30
|
+
data-fb-content-id="page[body]">
|
|
23
31
|
<p><%= @page.body %></p>
|
|
24
32
|
</div>
|
|
25
33
|
<% end %>
|
|
@@ -51,16 +59,18 @@
|
|
|
51
59
|
</div>
|
|
52
60
|
|
|
53
61
|
<% if @page.send_heading.present? %>
|
|
54
|
-
<h2 class="fb-send-heading govuk-heading-m"
|
|
62
|
+
<h2 class="fb-editable fb-send-heading govuk-heading-m"
|
|
63
|
+
data-fb-content-type="element"
|
|
64
|
+
data-fb-content-id="page[send_heading]">
|
|
55
65
|
<%= @page.send_heading %>
|
|
56
66
|
</h2>
|
|
57
67
|
<% end %>
|
|
58
68
|
|
|
59
69
|
<% if @page.send_body.present? %>
|
|
60
|
-
<div class="fb-send-body"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
70
|
+
<div class="fb-editable fb-send-body"
|
|
71
|
+
data-fb-content-type="content"
|
|
72
|
+
data-fb-content-id="page[send_body]">
|
|
73
|
+
<%= @page.send_body %>
|
|
64
74
|
</div>
|
|
65
75
|
<% end %>
|
|
66
76
|
|
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: 0.14.
|
|
4
|
+
version: 0.14.2
|
|
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-
|
|
11
|
+
date: 2021-03-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|