diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-03-07 10:44:05 -0500 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-03-07 10:44:05 -0500 |
commit | d9a19d269bb773d676cf049dbf58d675c3fa0db9 (patch) | |
tree | 8b34bedd28961427bdeac906d6fa25613a813ad5 /app/views/tournaments | |
parent | f69fcc28596700c1a875068b7cb616d6eb40e6df (diff) |
I changed some of the views for the tournaments and matches (like how match creation asked for a winner)
Diffstat (limited to 'app/views/tournaments')
-rw-r--r-- | app/views/tournaments/_selected.html.erb | 8 | ||||
-rw-r--r-- | app/views/tournaments/show.html.erb | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/app/views/tournaments/_selected.html.erb b/app/views/tournaments/_selected.html.erb index 9b1b7f8..7e91e85 100644 --- a/app/views/tournaments/_selected.html.erb +++ b/app/views/tournaments/_selected.html.erb @@ -14,9 +14,13 @@ <% else %> <%= f.text_field name %> <% end %> - </p> - <% end %> + + <div class="field"> + <%= f.label :status %><br> + <%= f.number_field :status %> + </div> + <%= f.submit %> <% end %> diff --git a/app/views/tournaments/show.html.erb b/app/views/tournaments/show.html.erb index c3a40e7..5629980 100644 --- a/app/views/tournaments/show.html.erb +++ b/app/views/tournaments/show.html.erb @@ -8,7 +8,7 @@ <% if current_user.in_group?(:host) %> <p> <strong>Game:</strong> - <%= @tournament.game %> + <%= @tournament.id %> </p> <p> |