Skip to content

Commit

Permalink
Fix incorrect pagination display at season views
Browse files Browse the repository at this point in the history
  • Loading branch information
BGMP committed Jun 3, 2024
1 parent cf115ad commit eeb4681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/seasons/show.haml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
%td.stat-number.align-middle.text-center
= e.session_count
- @count += 1
= paginate @racer_entries
#teams.tab-pane.fade.show{:"aria-labelledby" => "teams-tab", role: "tabpanel"}
- if @team_entries.none?
%h5.text-center.mt-2
Expand All @@ -68,7 +69,6 @@
= e.points
- @count += 1

= paginate @racer_entries
- if user_is_admin?
= link_to t("rankings.admin.season.edit.button"), edit_season_path(@season), :class => "btn mt-2"
= link_to t("rankings.admin.season.delete.button"), '', :"data-target" => "#deleteSeasonModal", :"data-toggle" => "modal", :type => "button", :class => "btn mt-2"
Expand Down

0 comments on commit eeb4681

Please sign in to comment.