Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syed87 committed Sep 25, 2023
1 parent 6bae897 commit 7a69db4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions app/views/support_interface/countries/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@
<%= govuk_tag(text: "Ineligible", colour: "red", classes: ["govuk-!-margin-left-2"]) %>
<% end %>

<% if country.eligibility_skip_questions %>
<%= govuk_tag(text: "Reduced eligibility", colour: "yellow", classes: ["govuk-!-margin-left-2"]) %>
<% else %>
<%= govuk_tag(text: "Standard eligibility", colour: "grey", classes: ["govuk-!-margin-left-2"]) %>
<% end %>
<% if country.subject_limited %>
<%= govuk_tag(text: "Subject limited", colour: "yellow", classes: ["govuk-!-margin-left-2"]) %>
<% elsif country.eligibility_skip_questions %>
<%= govuk_tag(text: "Reduced eligibility", colour: "yellow", classes: ["govuk-!-margin-left-2"]) %>
<% else %>
<%= govuk_tag(text: "Standard eligibility", colour: "grey", classes: ["govuk-!-margin-left-2"]) %>
<% end %>

<% if country.subject_limited %>
<%= govuk_tag(text: "Subject limited", colour: "yellow", classes: ["govuk-!-margin-left-2"]) %>
<% end %>
</h2>
<% end %>
<% end %>
Expand Down

0 comments on commit 7a69db4

Please sign in to comment.