diff --git a/app/views/tournaments/_bracket_partial.html.erb b/app/views/tournaments/_bracket_partial.html.erb index 5d5d341..d55d783 100644 --- a/app/views/tournaments/_bracket_partial.html.erb +++ b/app/views/tournaments/_bracket_partial.html.erb @@ -78,7 +78,7 @@ table.smallText tr td { font-size: 10px; } }
| diff --git a/app/views/tournaments/show.html.erb b/app/views/tournaments/show.html.erb index 53f1369..0a742a3 100644 --- a/app/views/tournaments/show.html.erb +++ b/app/views/tournaments/show.html.erb @@ -76,7 +76,7 @@ | ||||||||
| <% if can? :read, @tournament %> - <%= link_to "#{weight.max} lbs", weight %> + <%= link_to "#{weight.max}", weight %> <% else %> <%= "#{weight.max}" %> <% end %> diff --git a/app/views/tournaments/up_matches.html.erb b/app/views/tournaments/up_matches.html.erb index e8b989d..0b7702b 100644 --- a/app/views/tournaments/up_matches.html.erb +++ b/app/views/tournaments/up_matches.html.erb @@ -28,10 +28,10 @@ <% @mats.each.map do |m| %> | ||||||||
| <%= m.name %> | -<% if m.unfinished_matches.first %><%=m.unfinished_matches.first.bout_number%> - <%= m.unfinished_matches.first.weight_max %> lbs <%= m.unfinished_matches.first.w1_bracket_name %> vs. <%= m.unfinished_matches.first.w2_bracket_name %><% end %> |
- <% if m.unfinished_matches.second %><%=m.unfinished_matches.second.bout_number%> - <%= m.unfinished_matches.second.weight_max %> lbs <%= m.unfinished_matches.second.w1_bracket_name %> vs. <%= m.unfinished_matches.second.w2_bracket_name %><% end %> |
- <% if m.unfinished_matches.third %><%=m.unfinished_matches.third.bout_number%> - <%= m.unfinished_matches.third.weight_max %> lbs <%= m.unfinished_matches.third.w1_bracket_name %> vs. <%= m.unfinished_matches.third.w2_bracket_name %><% end %> |
- <% if m.unfinished_matches.fourth %><%=m.unfinished_matches.fourth.bout_number%> - <%= m.unfinished_matches.fourth.weight_max %> lbs <%= m.unfinished_matches.fourth.w1_bracket_name %> vs. <%= m.unfinished_matches.fourth.w2_bracket_name %><% end %> |
+ <% if m.unfinished_matches.first %><%=m.unfinished_matches.first.bout_number%> - <%= m.unfinished_matches.first.weight_max %> <%= m.unfinished_matches.first.w1_bracket_name %> vs. <%= m.unfinished_matches.first.w2_bracket_name %><% end %> |
+ <% if m.unfinished_matches.second %><%=m.unfinished_matches.second.bout_number%> - <%= m.unfinished_matches.second.weight_max %> <%= m.unfinished_matches.second.w1_bracket_name %> vs. <%= m.unfinished_matches.second.w2_bracket_name %><% end %> |
+ <% if m.unfinished_matches.third %><%=m.unfinished_matches.third.bout_number%> - <%= m.unfinished_matches.third.weight_max %> <%= m.unfinished_matches.third.w1_bracket_name %> vs. <%= m.unfinished_matches.third.w2_bracket_name %><% end %> |
+ <% if m.unfinished_matches.fourth %><%=m.unfinished_matches.fourth.bout_number%> - <%= m.unfinished_matches.fourth.weight_max %> <%= m.unfinished_matches.fourth.w1_bracket_name %> vs. <%= m.unfinished_matches.fourth.w2_bracket_name %><% end %> |
| Round <%= m.round %> | <%= m.bout_number %> | -<%= m.weight_max %> lbs | +<%= m.weight_max %> | <%= m.w1_bracket_name %> vs. <%= m.w2_bracket_name %> |