Skip to content

Commit

Permalink
use default cancel translation sting (#4290)
Browse files Browse the repository at this point in the history
  • Loading branch information
kristinmerbach authored and bbodine1 committed Aug 15, 2024
1 parent 20ad0c8 commit dca974e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
6 changes: 2 additions & 4 deletions app/views/insured/families/_shop_for_plans_widget.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,9 @@

<% if @family.latest_active_sep %>
<p><%= l10n('insured.qualify_for_special_enrollment') %> "<%= @family.latest_active_sep.qualifying_life_event_kind.title %>"
<br/>
<%= build_link_for_sep_type(@active_sep, l10n('plans.shop_now'), @family.id.to_s, link_class = "btn btn-default") %>
</p>
<p> <%= l10n('insured.start_your_coverage') %> </p>
<br/>
<%= build_link_for_sep_type(@active_sep, l10n('plans.shop_now'), @family.id.to_s, link_class = "btn btn-default") %>
<p class="mt-4"><%= l10n('insured.start_your_coverage') %> </p>
<%= h(link_to "#{l10n('plans.qualify_for_new_sep')}", find_sep_insured_families_path(options), class: "btn btn-default pull-left") %></p>
<% elsif !is_under_open_enrollment? %>
<p><%= l10n('insured.open_enrollment_is_over') %></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
</div>
</div>
<div class="d-flex mb-2">
<a tabindex="0" onkeydown="handleButtonKeyDown(event, 'other-income-cancel-<%= income_id %>', 'new-other-income-form')" id="other-income-cancel-<%= income_id %>" class="button outline other-income-cancel mr-2"><%= l10n("faa.other_incomes.cancel") %></a>
<a tabindex="0" onkeydown="handleButtonKeyDown(event, 'other-income-cancel-<%= income_id %>', 'new-other-income-form')" id="other-income-cancel-<%= income_id %>" class="button outline other-income-cancel mr-2"><%= l10n("cancel") %></a>
<%= f.submit l10n("faa.other_incomes.save"), disabled: disabled.present? && disabled ? "disabled" : nil, class: "button", :data => { :cuke => "other-income-save-button" } %>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<div class="row mb-2">
<div class="pull-right mt-1 mb-2 pl-3">
<a tabindex="0" onkeydown="handleButtonKeyDown(event, 'self-employed-income-cancel-<%= income_id %>')" id="self-employed-income-cancel-<%= income_id %>" class="button btn-default outline income-cancel"><%= l10n("faa.other_incomes.cancel") %></a>
<a tabindex="0" onkeydown="handleButtonKeyDown(event, 'self-employed-income-cancel-<%= income_id %>')" id="self-employed-income-cancel-<%= income_id %>" class="button btn-default outline income-cancel"><%= l10n("cancel") %></a>
<%= f.submit l10n("faa.other_incomes.save"), class: "button btn-save ml-1", :data => { :cuke => "self-employed-income-save-button" }, onclick: "checkDate('#{income_id}')" %>
</div>
</div>
Expand Down Expand Up @@ -84,4 +84,4 @@
<%= render partial: 'financial_assistance/shared/date_warning', locals: { form_object_id: income_id } %>
<% end %>
<% end %>
<% end %>
<% end %>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
</div>
</div>
<div class="d-flex mb-2">
<a tabindex="0" onkeydown="handleButtonKeyDown(event, 'unemployment-cancel-<%= income_id %>')" id="unemployment-cancel-<%= income_id %>" class="button outline mr-2 unemployment-income-cancel"><%= l10n("faa.other_incomes.cancel") %></a>
<a tabindex="0" onkeydown="handleButtonKeyDown(event, 'ai-an-income-cancel-<%= income_id %>')" id="ai-an-income-cancel-<%= income_id %>" class="btn outline ai-an-income-cancel mr-1"><%= l10n("cancel") %></a>
<a tabindex="0" onkeydown="handleButtonKeyDown(event, 'unemployment-cancel-<%= income_id %>')" id="unemployment-cancel-<%= income_id %>" class="button outline mr-2 unemployment-income-cancel"><%= l10n("cancel") %></a>
<%= f.submit l10n("faa.other_incomes.save"), class: "button btn-save", :data => { :cuke => "unemployment-income-save-button" }, onclick: "checkDate('#{income_id}')" %>
</div>
</div>
Expand Down

0 comments on commit dca974e

Please sign in to comment.