summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-24 16:20:32 -0400
committertkimia <tkimia@purdue.edu>2014-04-24 16:20:32 -0400
commitcb9ab169f9d3e650deef23841c3e70bc62cbca34 (patch)
tree0261aa3bab4eca19dcf8cfcd11aefc7e48972bf9 /app/views/users/show.html.erb
parent66aed81910ba84e829ecc9c0d11bed104c4283d0 (diff)
parent62780a89fb04e1d96c3bbc8c8dd2db9efdc656f1 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
I've been updating the SVG to work for all team_nums in elimination
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index dfebf08..a67aed9 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -20,15 +20,19 @@
too single
</p>
+
<p>
+<% if @user.remote_usernames[0].nil? %>
<%= form_for @user do |f| %>
<label>Have a League of Legends Account?
<input type=text name="user[remote_usernames][League of Legends]">
</label>
<%= f.submit "Add Username", :class => 'signup' %>
<% end %>
+<% end %>
</p>
+
<div class="row">
<div class="col-md-6">
<h3> Recent Tournaments Played </h3>