govuk_design_system_formbuilder 1.1.6 → 1.1.7

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: 640363a8649e9ad1ff103b5ea0d20055972eec358524a3e2d04da595724e18eb
4
- data.tar.gz: dc6f44e31408d306451754df69b2090821fbfab7d267edb40003eea46dbcaa61
3
+ metadata.gz: 0adb2d8cac9f854dcef2c4f3e6aa910b7797fb91f608fa6b3dde3fdbe0bd4446
4
+ data.tar.gz: 24a65861063cd4fad9c6f28cb977d7d50dd6d7f8dce3fb3179bc060d9411d7d7
5
5
  SHA512:
6
- metadata.gz: bc4dfee01d1304470eec629ee65f15a8efdf15912b43964425e18f2a3fbcf674a7401cb8fe76fd8542360ceac09adcdc5910f82c0a55a7f5bc56bee86948698d
7
- data.tar.gz: e5a97d5c1291cd249ddfd8d234a5912be825eaafb3ff3fb885a2d2501c841476f52a367ba59a14445fe1b517a26dfabb53d9188153486ea06966b41a7a42587c
6
+ metadata.gz: 964a50c8c1fc4e8504e5398de4cd81558b2473976a2534283e0cfc7fb21a5bd40d01b0550e30c479c1f19f281e1c6de19d7fe944e28f7340b82ec2d519e5c882
7
+ data.tar.gz: e716f1db45ad2d84f0d9a379c075e5f6bdde78dbf15aefb86f4777a332dba62d2774f713caa1282c2626e82938277e2f2a2c9e88a3b5561a6ab6e7625abe639b
@@ -14,22 +14,20 @@ module GOVUKDesignSystemFormBuilder
14
14
  end
15
15
 
16
16
  def html
17
- content_tag('div', class: %w(govuk-form-group)) do
18
- safe_join(
19
- [
20
- @builder.submit(
21
- @text,
22
- class: %w(govuk-button).push(
23
- warning_class,
24
- secondary_class,
25
- padding_class(@block_content.present?)
26
- ).compact,
27
- **extra_args
28
- ),
29
- @block_content
30
- ]
31
- )
32
- end
17
+ safe_join(
18
+ [
19
+ @builder.submit(
20
+ @text,
21
+ class: %w(govuk-button).push(
22
+ warning_class,
23
+ secondary_class,
24
+ padding_class(@block_content.present?)
25
+ ).compact,
26
+ **extra_args
27
+ ),
28
+ @block_content
29
+ ]
30
+ )
33
31
  end
34
32
 
35
33
  private
@@ -1,3 +1,3 @@
1
1
  module GOVUKDesignSystemFormBuilder
2
- VERSION = '1.1.6'.freeze
2
+ VERSION = '1.1.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_design_system_formbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Yates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-27 00:00:00.000000000 Z
11
+ date: 2020-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview