diff --git a/app/views/tournaments/bracket.html.erb b/app/views/tournaments/bracket.html.erb index 980cd3d..c719bf4 100644 --- a/app/views/tournaments/bracket.html.erb +++ b/app/views/tournaments/bracket.html.erb @@ -91,8 +91,11 @@ li:first-child,li:last-child { <% end %> <% if can? :manage, @tournament %> -

-

Swap Bracket Position

+

Tournament Director Bracket Actions

+ + + + + + +
+ Swap Bracket Position <%= form_for(Wrestler.new, url: swap_wrestlers_path(@tournament)) do |f| %>
<%= f.label 'Wrestler 1' %>
@@ -105,8 +108,9 @@ li:first-child,li:last-child {
<%= submit_tag "Swap", :class=>"btn btn-success"%> <% end %> -

-

Move wrestler to pool with a bye

+
+ Move wrestler to pool with a bye <%= form_tag '/wrestlers/update_pool' do %>
<%= label_tag 'Wrestler to move' %>
@@ -119,15 +123,19 @@ li:first-child,li:last-child {
<%= submit_tag "Move", :class=>"btn btn-success"%> <% end %> -

-

Rerun getting pool order

+
+ Rerun getting pool placement

If you changed the result of a match that changes the ranking of a pool.

<%= form_tag "/weights/#{@weight.id}/pool_order", :method => :post do %>
- <%= label_tag 'Pool to order' %>
+ <%= label_tag 'Pool to place' %>
<%= select_tag :pool_to_order, options_for_select((1..@weight.pools).step(1).to_a) %>

- <%= submit_tag "Get Pool Order", :class=>"btn btn-success"%> + <%= submit_tag "Get Pool Placement", :class=>"btn btn-success"%> <% end %> +
<% end %> \ No newline at end of file