gov_uk_date_fields 1.2.0 → 1.2.1

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: 8997ff551d09a254b976d56937602201da893c67
4
- data.tar.gz: 4bdefc4c20d7900a2737737e40d2b8ca1ab65f60
3
+ metadata.gz: 51056c28ec17537c61e91c9839be5680f2b6a6f0
4
+ data.tar.gz: 68c09a342d5d296259d3e3112cae579f1f89ea2b
5
5
  SHA512:
6
- metadata.gz: 75c5ae49b6b4a6d8388e5641ca16932ea931f2ce41381149de6351af0ae5881b92c563531b5db82752c3a1da3d046983b7355103819672e726de38747c47d422
7
- data.tar.gz: d0a31815f5d94a7cae0fa7a897f905dcc623c6d49ae0f4747e638aa572576a22232fe6069b888c990fcaf7fe3feca2af74c78ef29a7db9ff2c36f591c1a43498
6
+ metadata.gz: d3c0e23520a2964399b1b451dd7a1dd5826c00d03b48acb4a567bf8848ad4948eaba5ec309bf3dfdc2cd9f0e42531e53dad45d0835f54491eae9305867d2e7ba
7
+ data.tar.gz: e9ab04ec6ca5302d245b92146a0641d2466335d41da01dfc368df54c325e170eae0a2ac5e4b28ca59e8fc9e069a02e7cc50240356188cd0501bc9f624e21850a
@@ -75,7 +75,9 @@ module GovUkDateFields
75
75
  def generate_fieldset_tag
76
76
  result = "<fieldset"
77
77
  result += %Q| id="#{@fieldset_id}"| unless @fieldset_id.nil?
78
- result += %Q| class="error"| if error_for_attr?
78
+ css_class = "gov_uk_date"
79
+ css_class += " error" if error_for_attr?
80
+ result += %Q| class="#{css_class}"|
79
81
  result += ">"
80
82
  result
81
83
  end
@@ -1,3 +1,3 @@
1
1
  module GovUkDateFields
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end