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?"} %> +