diff options
author | tkimia <tkimia@purdue.edu> | 2014-04-28 22:54:35 -0400 |
---|---|---|
committer | tkimia <tkimia@purdue.edu> | 2014-04-28 22:54:35 -0400 |
commit | 40c112d42922c14063759d381f834724f22a340d (patch) | |
tree | 2f43a624e715ee68a7e79312c1eba25d097ec2b7 /app/views/common | |
parent | dd4c9e16c529bdbf0d055b279ed2dadc0c2aae13 (diff) |
made svg smaller
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> |