diff options
author | Luke Shumaker <shumakl@purdue.edu> | 2014-04-28 23:57:54 -0400 |
---|---|---|
committer | Luke Shumaker <shumakl@purdue.edu> | 2014-04-28 23:57:54 -0400 |
commit | cd0c7d73be76feffbaaea9200c485b2316604469 (patch) | |
tree | 9c708335a46b96c3a0c257a964f51fe88d023a0e /app/views/common | |
parent | 7297cff5b674a61fd57ccc46eb75173011bd205c (diff) | |
parent | 40c112d42922c14063759d381f834724f22a340d (diff) |
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/common')
-rw-r--r-- | app/views/common/_show_tournament.html.erb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/common/_show_tournament.html.erb b/app/views/common/_show_tournament.html.erb index f4d02ec..c0237b1 100644 --- a/app/views/common/_show_tournament.html.erb +++ b/app/views/common/_show_tournament.html.erb @@ -38,6 +38,11 @@ <%= form_tag(tournament_brackets_path(target), method: "post") do %> <%= submit_tag("Make Bracket") %> <% end %> + <% elsif @user_bracket && target.status == 4 %> + <%= form_tag(tournament_bracket_path(@tournament, @bracket), method: 'put') do %> + <input type="hidden" name="update_action" value="results"> + <%= submit_tag("Bracket Results") %> + <% end %> <% end %> <% end %> </div> |