summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-04-23 22:28:27 -0400
committerDavisLWebb <davislwebb@ymail.com>2014-04-23 22:28:27 -0400
commit47be7c86ca5193ffe4331fbb9358a9171abe748b (patch)
treedd66238ba93ffe23d7b4b8ab159d2c3d2c0c7567 /app/views/users/show.html.erb
parent8003c0f8326f231b6e0c8bb29feb48736271ea21 (diff)
Luke made the remote_username stuff work
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r--app/views/users/show.html.erb11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 81eee6f..dfebf08 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -21,11 +21,12 @@
</p>
<p>
- <%= label :username %><br>
- <%= text_field %>
-
- <br><input type="submit" value="Submit"><br>
-
+ <%= 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 %>
</p>
<div class="row">