diff options
author | tkimia <tkimia@purdue.edu> | 2014-04-26 19:16:19 -0400 |
---|---|---|
committer | tkimia <tkimia@purdue.edu> | 2014-04-26 19:16:19 -0400 |
commit | 96dd3fbe302eec54b34678e098d3b59710b09b5f (patch) | |
tree | 95138a74c0abe598d5f205f24067b6fd746b141b /app/views/common/_show_tournament.html.erb | |
parent | 10749a6242bec56586b71f4e8b886eddc9edc499 (diff) |
prelim bracket control
Diffstat (limited to 'app/views/common/_show_tournament.html.erb')
-rw-r--r-- | app/views/common/_show_tournament.html.erb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/common/_show_tournament.html.erb b/app/views/common/_show_tournament.html.erb index 0f60fad..fb31420 100644 --- a/app/views/common/_show_tournament.html.erb +++ b/app/views/common/_show_tournament.html.erb @@ -29,6 +29,13 @@ <% else %> <p style="margin-top:10px;"> You've signed up for this tournament! </p> <% end %> + <%= form_tag(tournament_brackets_path(target), method: "post") do %> + <%= label :user_id, nil, style: "display: none;" %> + <%= text_field_tag :user_id, current_user.id, style: "display: none;" %> + <%= label :tournament_id, nil, style: "display: none;" %> + <%= text_field_tag :tournament_id, target.id, style: "display: none;" %> + <%= submit_tag("Make Bracket") %> + <% end %> <% end %> </div> </div>
\ No newline at end of file |