summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
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>