From 332ec93366315fa1ed7b4acd7a3407c96e8ddfa7 Mon Sep 17 00:00:00 2001 From: sadbeast Date: Wed, 31 Jan 2024 17:47:56 -0800 Subject: initial mistake --- app/views/leagues/show.html.erb | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/views/leagues/show.html.erb (limited to 'app/views/leagues/show.html.erb') diff --git a/app/views/leagues/show.html.erb b/app/views/leagues/show.html.erb new file mode 100644 index 0000000..d7a43d3 --- /dev/null +++ b/app/views/leagues/show.html.erb @@ -0,0 +1,33 @@ +
+<% @player_scores.each do |score| %> +
<%= score.player %> - <%= score.score %>
+<% end %> +
+ + + + + + + + + + <% @scores.each do |score| %> + + + + + + <% end %> + +
<%= sort_link(@q, :team) %><%= sort_link(@q, :player) %><%= sort_link(@q, :total) %>
<%= score.team %><%= score.player %> + <%= score.total %> +

+ W: <%= score.win %> + <% if score.playoffs > 0 %>P: <%= score.playoffs %><% end %> + <% if score.divisional > 0 %>D: <%= score.divisional %><% end %> + <% if score.conference > 0 %>C: <%= score.conference %><% end %> + <% if score.superbowl > 0 %>S: <%= score.superbowl %><% end %> + <% if score.champion > 0 %>SW: <%= score.champion %><% end %> +

+
-- cgit v1.2.3