diff options
author | shumakl <shumakl@purdue.edu> | 2014-04-03 12:32:48 -0400 |
---|---|---|
committer | shumakl <shumakl@purdue.edu> | 2014-04-03 12:32:48 -0400 |
commit | 4015a27f66eafee66137bc27a76843bd48139772 (patch) | |
tree | f2e4347606fa9bdec73ede85d562a7b891c85df2 /app/views/remote_usernames/index.html.erb | |
parent | 8d5325cd6019b784ba2da66d19c41daaadbc19e0 (diff) | |
parent | 8e3e46b7951120f1ec34949d607a7672ad03f820 (diff) |
Merge branch 'clean2'
Conflicts:
app/controllers/alerts_controller.rb
app/controllers/application_controller.rb
app/controllers/matches_controller.rb
app/controllers/servers_controller.rb
app/controllers/sessions_controller.rb
app/controllers/tournaments_controller.rb
app/controllers/users_controller.rb
app/models/match.rb
app/models/team.rb
app/models/tournament.rb
app/views/sessions/_form.html.erb
app/views/sessions/index.html.erb
app/views/sessions/index.json.jbuilder
app/views/sessions/show.html.erb
app/views/sessions/show.json.jbuilder
app/views/tournaments/index.html.erb
config/routes.rb
generate.sh
Diffstat (limited to 'app/views/remote_usernames/index.html.erb')
-rw-r--r-- | app/views/remote_usernames/index.html.erb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app/views/remote_usernames/index.html.erb b/app/views/remote_usernames/index.html.erb new file mode 100644 index 0000000..14f5876 --- /dev/null +++ b/app/views/remote_usernames/index.html.erb @@ -0,0 +1,31 @@ +<h1>Listing remote_usernames</h1> + +<table> + <thead> + <tr> + <th>Game</th> + <th>User</th> + <th>User name</th> + <th></th> + <th></th> + <th></th> + </tr> + </thead> + + <tbody> + <% @remote_usernames.each do |remote_username| %> + <tr> + <td><%= remote_username.game %></td> + <td><%= remote_username.user %></td> + <td><%= remote_username.user_name %></td> + <td><%= link_to 'Show', remote_username %></td> + <td><%= link_to 'Edit', edit_remote_username_path(remote_username) %></td> + <td><%= link_to 'Destroy', remote_username, method: :delete, data: { confirm: 'Are you sure?' } %></td> + </tr> + <% end %> + </tbody> +</table> + +<br> + +<%= link_to 'New Remote username', new_remote_username_path %> |