summaryrefslogtreecommitdiff
path: root/app/views/remote_usernames/index.html.erb
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-02 14:53:10 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-02 14:53:10 -0400
commitf9a4ee4e998f5f113565a93802c041108e9a180d (patch)
tree453534c6ee9b38d921266f92ac02e7e740a7856c /app/views/remote_usernames/index.html.erb
parenta2de6b22a720671b796c88c694db905665fda142 (diff)
now ran generate without ger
Diffstat (limited to 'app/views/remote_usernames/index.html.erb')
-rw-r--r--app/views/remote_usernames/index.html.erb31
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 %>