Skip to content

Commit

Permalink
Don't show service status for withdrawn entrants
Browse files Browse the repository at this point in the history
  • Loading branch information
moveson committed Dec 20, 2024
1 parent 4059578 commit 27f7c94
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<%# locals: (entrant:) %>

<%= content_tag(:div, id: dom_id(entrant, :service_status_indicator)) do %>
<%= service_form_status_with_icon(entrant.service_detail) %>
<% unless entrant.withdrawn? %>
<%= service_form_status_with_icon(entrant.service_detail) %>
<% end %>
<% end %>

0 comments on commit 27f7c94

Please sign in to comment.