Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add text for missing immigrant status labels #3864

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
kristinmerbach marked this conversation as resolved.
Show resolved Hide resolved
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
Loading