Skip to content

Commit

Permalink
Add division name to progress bars
Browse files Browse the repository at this point in the history
  • Loading branch information
moveson committed Nov 27, 2023
1 parent 755607b commit bcecbc6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/lotteries/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@
</div>
<% end %>

<hr/>
<div class="row">
<% @presenter.ordered_divisions.each do |division| %>
<%= turbo_stream_from division, :lottery_header, class: "d-none" %>
<div class="col-12 col-md-6 col-lg-4 col-xl">
<h5 class="fw-bold"><%= division.name %></h5>
<%= render partial: "lottery_divisions/tickets_progress_bars", locals: { division: division, show_pre_selected: false } %>
</div>
<% end %>
Expand Down

0 comments on commit bcecbc6

Please sign in to comment.