Skip to content

Commit c8f6f32

Browse files
committed
Use class instead of classes
1 parent b29b5eb commit c8f6f32

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/views/steps/caution/conditional_end_date/edit.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<%= govuk_error_summary %>
77

88
<%= step_form @form_object do |f| %>
9-
<%= f.govuk_date_field :conditional_end_date, maxlength_enabled: true, form_group: { classes: 'app-util--compact-form-group' } do
9+
<%= f.govuk_date_field :conditional_end_date, maxlength_enabled: true, form_group: { class: 'app-util--compact-form-group' } do
1010
tag.p t('.lead_text'), class: 'govuk-body-m'
1111
end %>
1212

app/views/steps/caution/known_date/edit.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<%= govuk_error_summary %>
77

88
<%= step_form @form_object do |f| %>
9-
<%= f.govuk_date_field :known_date, maxlength_enabled: true, form_group: { classes: 'app-util--compact-form-group' } %>
9+
<%= f.govuk_date_field :known_date, maxlength_enabled: true, form_group: { class: 'app-util--compact-form-group' } %>
1010

1111
<%= render partial: 'steps/shared/approx_date_checkbox', locals: {
1212
form: f, attribute: :approximate_known_date

app/views/steps/conviction/compensation_payment_date/edit.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<%= step_form @form_object do |f| %>
99
<%= f.govuk_date_field :compensation_payment_date, maxlength_enabled: true,
10-
form_group: { classes: 'app-util--compact-form-group' },
10+
form_group: { class: 'app-util--compact-form-group' },
1111
caption: { text: f.i18n_caption } do
1212
tag.p t('.lead_text'), class: 'govuk-body-m'
1313
end %>

app/views/steps/conviction/conviction_date/edit.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<%= govuk_error_summary %>
77

88
<%= step_form @form_object do |f| %>
9-
<%= f.govuk_date_field :conviction_date, maxlength_enabled: true, form_group: { classes: 'app-util--compact-form-group' } do
9+
<%= f.govuk_date_field :conviction_date, maxlength_enabled: true, form_group: { class: 'app-util--compact-form-group' } do
1010
tag.p t('.lead_text'), class: 'govuk-body-m'
1111
end %>
1212

app/views/steps/conviction/known_date/edit.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<%= step_form @form_object do |f| %>
99
<%= f.govuk_date_field :known_date, maxlength_enabled: true,
10-
form_group: { classes: 'app-util--compact-form-group' },
10+
form_group: { class: 'app-util--compact-form-group' },
1111
legend: { text: f.i18n_legend },
1212
caption: { text: f.i18n_caption } do
1313
tag.p f.i18n_lead_text, class: 'govuk-body-m'

0 commit comments

Comments
 (0)