From 62780a89fb04e1d96c3bbc8c8dd2db9efdc656f1 Mon Sep 17 00:00:00 2001
From: DavisLWebb
Date: Thu, 24 Apr 2014 13:27:08 -0400
Subject: Added get_riot function which to gather, score, and place members in
their proper blue/purple teams. Also changed the user view so that once the
remote_username for League of Legends was added the button would be removed
(since we are only supporting league for the remote_usernames right now)
---
app/views/users/show.html.erb | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'app/views/users/show.html.erb')
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
+
+<% if @user.remote_usernames[0].nil? %>
<%= form_for @user do |f| %>
<%= f.submit "Add Username", :class => 'signup' %>
<% end %>
+<% end %>