summaryrefslogtreecommitdiff
path: root/app/views/common/_show_tournament.html.erb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-27 21:01:25 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-27 21:01:25 -0400
commit0f6489cdfcc1c75500a66bc906a13b98629e0617 (patch)
tree8ccf9591650f3de07463b81e144b1a932a73181f /app/views/common/_show_tournament.html.erb
parente526f5b62b3dc91ca30eb0382c071227b74baddf (diff)
fixed username for alerts and made tournament listings btter
Diffstat (limited to 'app/views/common/_show_tournament.html.erb')
-rw-r--r--app/views/common/_show_tournament.html.erb8
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/common/_show_tournament.html.erb b/app/views/common/_show_tournament.html.erb
index a1d01d2..151e5d2 100644
--- a/app/views/common/_show_tournament.html.erb
+++ b/app/views/common/_show_tournament.html.erb
@@ -25,9 +25,11 @@
<% if signed_in? %>
<% if !target.players.include?(current_user) %>
<%= form_tag(tournament_path(target), method: "put") do %>
- <input type="hidden" name="update_action" value="join">
- <%= submit_tag("Join")%>
- <% end %>
+ <p>
+ <input type="hidden" name="update_action" value="join">
+ <%= submit_tag("Join")%>
+ <% end %>
+ </p>
<% else %>
<p style="margin-top:10px;"> You've signed up for this tournament! </p>
<% end %>