diff options
author | DavisLWebb <davislwebb@ymail.com> | 2014-04-24 13:27:08 -0400 |
---|---|---|
committer | DavisLWebb <davislwebb@ymail.com> | 2014-04-24 13:27:08 -0400 |
commit | 62780a89fb04e1d96c3bbc8c8dd2db9efdc656f1 (patch) | |
tree | df00d164472e2dbc62477fdf60da4e0697c9dc1c /app/views/users | |
parent | 55fa26ca1517a15e366b475a8152cf61aef6dc9c (diff) |
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)
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/show.html.erb | 4 |
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> |