From 2012774ae80ed902deecb8b39339e5ab153e8c8d Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 28 Apr 2016 08:54:19 -0400 Subject: [PATCH] Update _details.html.erb --- app/views/customers/_details.html.erb | 52 ++++++++++++++++++--------- 1 file changed, 36 insertions(+), 16 deletions(-) diff --git a/app/views/customers/_details.html.erb b/app/views/customers/_details.html.erb index eae7f0a..c855953 100644 --- a/app/views/customers/_details.html.erb +++ b/app/views/customers/_details.html.erb @@ -1,16 +1,36 @@ -
-
-
- - - <%= @customer%> - - -
-
- -
- <%= button_to "Edit", edit_customer_path(@customer), method: :get%> -
- -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Customer<%= @customer.name %>
Email<%= @customer.email %>
Primary Phone<%= @customer.primary_phone %>
Mobile Phone<%= @customer.mobile_phone %>
Notes<%= @customer.notes %>
+ + <%= button_to "Edit", edit_vehicle_path(@customer), method: :get%> + <%= button_to "Delete", @customer, method: :delete, data: {confirm: "You sure?"} %> +