govuk_publishing_components 12.9.0 → 12.9.1
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 +4 -4
- data/app/views/govuk_publishing_components/components/_file_upload.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_input.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_radio.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_textarea.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/docs/file_upload.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/input.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/radio.yml +2 -0
- data/app/views/govuk_publishing_components/components/docs/textarea.yml +2 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4fe8b79d00d6b9e3266f122e6fc88a6f01ea7503f3ca421b9ca66140f0af06a
|
|
4
|
+
data.tar.gz: 10e44a5bbf1843aa04c4d6a48c52a143332b6ae9056b372f3f9698e3e3ad06f9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 01c43e0f7a1abb2a552433dde6952c016d3fe1f1ef6d9051a417a94267378ee0c5ac2ec2d052b9d31aa77c4564cdb13cb4221a295041cc4b2ea7df0570302144
|
|
7
|
+
data.tar.gz: a30dafd6bcc3a6903fe07d3371d140ea88f25fe55e7addb681bab7785c2d56f33b6430c98209c733a77913b776bc7e8b578f6eda0abc9c34954606cdd00858a8
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
text: error_message
|
|
45
45
|
} %>
|
|
46
46
|
<% elsif error_items %>
|
|
47
|
-
<%= render "govuk_publishing_components/components/
|
|
47
|
+
<%= render "govuk_publishing_components/components/error_message", {
|
|
48
48
|
id: error_id,
|
|
49
|
-
|
|
49
|
+
text: raw(error_items.map { |item| item[:text] }.join("<br/>"))
|
|
50
50
|
} %>
|
|
51
51
|
<% end %>
|
|
52
52
|
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
text: error_message
|
|
52
52
|
} %>
|
|
53
53
|
<% elsif error_items %>
|
|
54
|
-
<%= render "govuk_publishing_components/components/
|
|
54
|
+
<%= render "govuk_publishing_components/components/error_message", {
|
|
55
55
|
id: error_id,
|
|
56
|
-
|
|
56
|
+
text: raw(error_items.map { |item| item[:text] }.join("<br/>"))
|
|
57
57
|
} %>
|
|
58
58
|
<% end %>
|
|
59
59
|
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
text: error_message
|
|
32
32
|
} %>
|
|
33
33
|
<% elsif error_items %>
|
|
34
|
-
<%= render "govuk_publishing_components/components/
|
|
34
|
+
<%= render "govuk_publishing_components/components/error_message", {
|
|
35
35
|
id: error_id,
|
|
36
|
-
|
|
36
|
+
text: raw(error_items.map { |item| item[:text] }.join("<br/>"))
|
|
37
37
|
} %>
|
|
38
38
|
<% end %>
|
|
39
39
|
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
text: error_message
|
|
48
48
|
} %>
|
|
49
49
|
<% elsif error_items %>
|
|
50
|
-
<%= render "govuk_publishing_components/components/
|
|
50
|
+
<%= render "govuk_publishing_components/components/error_message", {
|
|
51
51
|
id: error_id,
|
|
52
|
-
|
|
52
|
+
text: raw(error_items.map { |item| item[:text] }.join("<br/>"))
|
|
53
53
|
} %>
|
|
54
54
|
<% end %>
|
|
55
55
|
|
|
@@ -147,6 +147,8 @@ examples:
|
|
|
147
147
|
error_items:
|
|
148
148
|
- text: Descriptive link to the question with an error 1
|
|
149
149
|
href: '#example-error-1'
|
|
150
|
+
- text: Descriptive link to the question with an error 2
|
|
151
|
+
href: '#example-error-2'
|
|
150
152
|
items:
|
|
151
153
|
- value: "government-gateway"
|
|
152
154
|
text: "Use Government Gateway"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: govuk_publishing_components
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 12.9.
|
|
4
|
+
version: 12.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- GOV.UK Dev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-11-
|
|
11
|
+
date: 2018-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: govuk_app_config
|