diff --git a/components/financial_assistance/app/views/financial_assistance/incomes/_unemployment_income.html.erb b/components/financial_assistance/app/views/financial_assistance/incomes/_unemployment_income.html.erb index 3239b215d6f..66ed8d015da 100644 --- a/components/financial_assistance/app/views/financial_assistance/incomes/_unemployment_income.html.erb +++ b/components/financial_assistance/app/views/financial_assistance/incomes/_unemployment_income.html.erb @@ -24,8 +24,8 @@
- <%= l10n("faa.edit.remove") %> - <%=l10n("edit")%> + <%= l10n("faa.edit.remove") %> + <%=l10n("edit")%>
<%= f.label :start_on, l10n("start_date"), class: "required", for: "start_on_#{dummy_income_id}" %> - <%= f.date_field :start_on, min: 110.years.ago, max:"9999-12-31", required: true, id: "start_on_#{dummy_income_id}", onchange: onchange_date, class: "w-100" %> + <%= f.date_field :start_on, min: 110.years.ago, max:"9999-12-31", required: true, id: "start_on_#{dummy_income_id}", class: "w-100" %>
<%= f.label :end_on, l10n("end_date"), for: "end_on_#{dummy_income_id}" %> - <%= f.date_field :end_on, min: 110.years.ago, max:"9999-12-31", id: "end_on_#{dummy_income_id}", onchange: onchange_date, class: "w-100 #{'end-on-field' if FinancialAssistanceRegistry.feature_enabled?(:other_income_end_date_warning)}" %> + <%= f.date_field :end_on, min: 110.years.ago, max:"9999-12-31", id: "end_on_#{dummy_income_id}", class: "w-100 #{'end-on-field' if FinancialAssistanceRegistry.feature_enabled?(:other_income_end_date_warning)}" %>
- <%= l10n("cancel") %> - <%= f.submit l10n("faa.other_incomes.save"), class: "button btn-save", :data => { :cuke => "unemployment-income-save-button" }, onclick: "checkDate('#{income_id}')" %> + <%= l10n("cancel") %> + <%= f.submit l10n("faa.other_incomes.save"), class: "button btn-save", :data => { :cuke => "unemployment-income-save-button" } %>