From 58b86414148d4623d113ac49451e72c2c7e7bf33 Mon Sep 17 00:00:00 2001 From: Saurabh Bhatia Date: Tue, 18 Feb 2014 17:12:39 +0800 Subject: [PATCH] Added view to display all details of clients --- app/views/clients/index.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/views/clients/index.html.erb b/app/views/clients/index.html.erb index b9fb5c3..951e2ed 100644 --- a/app/views/clients/index.html.erb +++ b/app/views/clients/index.html.erb @@ -6,6 +6,11 @@ Site name Site token Site + University + Department + Admin Email + Country + URL @@ -18,6 +23,11 @@ <%= client.site_name %> <%= client.site_token %> <%= client.site_id %> + <%= client.university %> + <%= client.department %> + <%= client.email %> + <%= client.country %> + <%= client.url %> <%= link_to 'Show', client %> <%= link_to 'Edit', edit_client_path(client) %> <%= link_to 'Destroy', client, method: :delete, data: { confirm: 'Are you sure?' } %>