govuk_elements_form_builder 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c1fe9769627ab203eb5a9740ea7e576cc48208b
4
- data.tar.gz: 07647b82107b4bd8405e612ee8345272edabf7be
3
+ metadata.gz: f14b86952c102183ccdf1ffc9065cae629ae75bd
4
+ data.tar.gz: fdf159564fd0d9c51a8ef95d23a5ccabe0afe4af
5
5
  SHA512:
6
- metadata.gz: 32bfcdcca34abce386ce9300ce2aebc7b78ab81d970ba072fd72c9255d01609845a3e9f04de2836fc473ffbf9b23774ee55167f44cecd289e4cbc0d7f68efb40
7
- data.tar.gz: 7751a56bcbafdaf667e661539a2bca6417c50c29eae09e8918c00a0b987d8f8d5203e6a73e648b9a8cf56fd01ff79bd4f24996ace9d8a67221fb3c78571e8be4
6
+ metadata.gz: 151ffa2fbbbbf817d104903bdb933c95d012a2ddccc320627bcd09c7373ebc29c37000d6553d18c990ca186f3258ae0c49f4e888cfc798b4ac6f1658a00a1366
7
+ data.tar.gz: 4553a7f5eb5f25aaff6b26120d76bb73692569d59fb505bdd4c05df7efc1503475fb55bbc80fa006aff1fbc50abc6b01759ccc9c3ae164185088aa52f9e1e0a1
@@ -88,7 +88,7 @@ module GovukElementsErrorsHelper
88
88
  def self.error_summary_div &block
89
89
  content_tag(:div,
90
90
  class: 'error-summary',
91
- role: 'group',
91
+ role: 'alert',
92
92
  aria: {
93
93
  labelledby: 'error-summary-heading'
94
94
  },
@@ -98,7 +98,7 @@ module GovukElementsErrorsHelper
98
98
  end
99
99
 
100
100
  def self.error_summary_heading text
101
- content_tag :h1,
101
+ content_tag :h2,
102
102
  text,
103
103
  id: 'error-summary-heading',
104
104
  class: 'heading-medium error-summary-heading'
@@ -1,3 +1,3 @@
1
1
  module GovukElementsFormBuilder
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_elements_form_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alistair Laing
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-01-31 00:00:00.000000000 Z
12
+ date: 2019-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -164,7 +164,6 @@ files:
164
164
  - app/helpers/govuk_elements_errors_helper.rb
165
165
  - lib/govuk_elements_form_builder.rb
166
166
  - lib/govuk_elements_form_builder/block_buffer.rb
167
- - lib/govuk_elements_form_builder/components/error_summary.rb
168
167
  - lib/govuk_elements_form_builder/form_builder.rb
169
168
  - lib/govuk_elements_form_builder/version.rb
170
169
  - lib/tasks/govuk_elements_form_builder_tasks.rake