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; } } -
<%= @tournament.name %> - <%= @weight.max %> lbs Bracket
+
<%= @tournament.name %> - <%= @weight.max %> Bracket
<% if @tournament.tournament_type == "Pool to bracket" %> - - - - + + + + <% end %> @@ -55,7 +55,7 @@ - + <% end %> diff --git a/app/views/weights/_form.html.erb b/app/views/weights/_form.html.erb index 23fa52d..7a605c7 100644 --- a/app/views/weights/_form.html.erb +++ b/app/views/weights/_form.html.erb @@ -13,7 +13,7 @@
<%= f.label :max %>
- <%= f.number_field :max %> + <%= f.number_field :max, step: :any %>
<% if @weight %> diff --git a/app/views/weights/re_gen.html.erb b/app/views/weights/re_gen.html.erb index 433ccaf..8f04d35 100644 --- a/app/views/weights/re_gen.html.erb +++ b/app/views/weights/re_gen.html.erb @@ -1 +1 @@ -<%= @weight.max %> lbs Matches are being generated. This can take anywhere from 1-5 minutes to finish. It is recommended to delete all delegated school permissions to prevent lineup changes after the tournament has started. \ No newline at end of file +<%= @weight.max %> Matches are being generated. This can take anywhere from 1-5 minutes to finish. It is recommended to delete all delegated school permissions to prevent lineup changes after the tournament has started. \ No newline at end of file
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 %>