Skip to content

Commit

Permalink
bs4 benefits ai an selection fix (#4192)
Browse files Browse the repository at this point in the history
* update names for ai an radios

* update radios for other ai an question
  • Loading branch information
charlienparker authored Aug 5, 2024
1 parent 94aac30 commit badac86
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
<fieldset id="ai_an_health_service_eligible_question" class="pb-4 driver-question">
<legend class="weight-n instruction-row"><%= l10n("faa.indian_health_service_eligible") %></legend>
<div class="focus d-flex mt-3 instruction-row">
<label class="radio mr-3" for="ai_an_health_service_eligible_true">
<input id="ai_an_health_service_eligible_true" type="radio" value="true" name="ai_an_health_service_eligible" <%='checked' if @applicant.health_service_eligible == true %>>
<label class="radio mr-3">
<%= radio_button_tag("health_service_eligible", true, @applicant.health_service_eligible) %>
<span><%= l10n("yes") %></span>
</label>
<label class="radio mr-3" for="ai_an_health_service_eligible_false">
<input id="ai_an_health_service_eligible_false" type="radio" value="false" name="ai_an_health_service_eligible" <%='checked'if @applicant.health_service_eligible == false %>>
<label class="radio mr-3">
<%= radio_button_tag("health_service_eligible", false, @applicant.health_service_eligible == false) %>
<span><%= l10n("no") %></span>
</label>
</div>
Expand All @@ -71,12 +71,12 @@
<fieldset id="ai_an_health_service_through_referral_question" class="pb-4 driver-question">
<legend class="weight-n instruction-row"><%= l10n("faa.indian_health_service") %></legend>
<div class="focus d-flex mt-3 instruction-row">
<label class="radio mr-3" for="ai_an_health_service_through_referral_true">
<input id="ai_an_health_service_through_referral_true" type="radio" value="true" name="ai_an_health_service_through_referral" <%='checked' if @applicant.health_service_through_referral == true %>>
<label class="radio mr-3">
<%= radio_button_tag("health_service_through_referral", true, @applicant.health_service_through_referral) %>
<span><%= l10n("yes") %></span>
</label>
<label class="radio mr-3" for="ai_an_health_service_through_referral_false">
<input id="ai_an_health_service_through_referral_false" type="radio" value="false" name="ai_an_health_service_through_referral" <%='checked'if @applicant.health_service_through_referral == false %>>
<label class="radio mr-3">
<%= radio_button_tag("health_service_through_referral", false, @applicant.health_service_through_referral == false) %>
<span><%= l10n("no") %></span>
</label>
</div>
Expand Down

0 comments on commit badac86

Please sign in to comment.