From bcecbc6a292e7628790e25f20fd40550277b6580 Mon Sep 17 00:00:00 2001 From: Mark Oveson Date: Mon, 27 Nov 2023 09:17:00 -0700 Subject: [PATCH] Add division name to progress bars --- app/views/lotteries/show.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/lotteries/show.html.erb b/app/views/lotteries/show.html.erb index ed6ddb8bb..7f7c64a8b 100644 --- a/app/views/lotteries/show.html.erb +++ b/app/views/lotteries/show.html.erb @@ -110,10 +110,12 @@ <% end %> +
<% @presenter.ordered_divisions.each do |division| %> <%= turbo_stream_from division, :lottery_header, class: "d-none" %>
+
<%= division.name %>
<%= render partial: "lottery_divisions/tickets_progress_bars", locals: { division: division, show_pre_selected: false } %>
<% end %>