Added view to display all details of clients

This commit is contained in:
Saurabh Bhatia 2014-02-18 17:12:39 +08:00
parent a1b087a584
commit 58b8641414
1 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,11 @@
<th>Site name</th>
<th>Site token</th>
<th>Site</th>
<th>University</th>
<th>Department</th>
<th>Admin Email</th>
<th>Country</th>
<th>URL</th>
<th></th>
<th></th>
<th></th>
@ -18,6 +23,11 @@
<td><%= client.site_name %></td>
<td><%= client.site_token %></td>
<td><%= client.site_id %></td>
<td><%= client.university %></td>
<td><%= client.department %></td>
<td><%= client.email %></td>
<td><%= client.country %></td>
<td><%= client.url %></td>
<td><%= link_to 'Show', client %></td>
<td><%= link_to 'Edit', edit_client_path(client) %></td>
<td><%= link_to 'Destroy', client, method: :delete, data: { confirm: 'Are you sure?' } %></td>