gov_uk_date_fields 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -104,10 +104,10 @@ class GovUkDateFieldsTest < ActiveSupport::TestCase
104
104
  <span class="error-message">Joining date must be in the past</span>
105
105
  </li>
106
106
  </ul>
107
- <p class="form-hint" id="joined-hint">For example, 31 3 1980</p>
107
+ <p class="form-hint" id="employee_date_joined-hint">For example, 31 3 1980</p>
108
108
  <div class="form-group form-group-day">
109
109
  <label for="employee_joined_dd">Day</label>
110
- <input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="joined-hint" value="1">
110
+ <input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_date_joined-hint" value="1">
111
111
  </div>
112
112
  <div class="form-group form-group-month">
113
113
  <label for="employee_joined_mm">Month</label>
@@ -127,10 +127,10 @@ class GovUkDateFieldsTest < ActiveSupport::TestCase
127
127
  <fieldset id="employee_date_joined">
128
128
  <legend>Joining date</legend>
129
129
  <div class="form-date">
130
- <p class="form-hint" id="joined-hint">For example, 31 3 1980</p>
130
+ <p class="form-hint" id="employee_date_joined-hint">For example, 31 3 1980</p>
131
131
  <div class="form-group form-group-day">
132
132
  <label for="employee_joined_dd">Day</label>
133
- <input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="joined-hint" value="1">
133
+ <input class="form-control" id="employee_joined_dd" name="employee[joined_dd]" type="number" min="0" max="31" aria-describedby="employee_date_joined-hint" value="1">
134
134
  </div>
135
135
  <div class="form-group form-group-month">
136
136
  <label for="employee_joined_mm">Month</label>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gov_uk_date_fields
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Richards
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-17 00:00:00.000000000 Z
12
+ date: 2016-06-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails