Skip to content

Commit

Permalink
adds hardcoded text for missing localized keys
Browse files Browse the repository at this point in the history
  • Loading branch information
charlienparker committed May 20, 2024
1 parent ec0f97b commit e32e406
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<% if @bs4 %>
<fieldset id="immigration_doc_statuses" class="mt-4">
<legend><%= l10n("insured.consumer_roles.docs_shared.other_status_question") %></legend>
<legend>Does this person also have any of these document types or statuses?</legend>
<div>
<% ::ConsumerRole::IMMIGRATION_DOCUMENT_STATUSES.each_with_index do |status, index| %>
<label for="<%= status.gsub(/[^\w\s_-]+/, '').gsub(/\s+/, '_') %>" class="mb-3">
<%= c.check_box :immigration_doc_statuses, { multiple: true, id: status.gsub(/[^\w\s_-]+/, '').gsub(/\s+/, '_') }, status, false %>
<span class="weight-n"><%= status %></span>
<% if index == ::ConsumerRole::IMMIGRATION_DOCUMENT_STATUSES.length - 1 %><small class="muted-text"><%= l10n("insured.consumer_roles.docs_shared.none_of_above_note") %></small><% end %>
<% if index == ::ConsumerRole::IMMIGRATION_DOCUMENT_STATUSES.length - 1 %><small class="muted-text">(Select this if this person doesn't have a listed document. You can continue the application without selecting a document or status type)</small><% end %>
</label>
<% end %>
</div>
Expand Down

0 comments on commit e32e406

Please sign in to comment.