From dfd7dfcf790f2961239a68bb8c707b4d8a214706 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 22 Apr 2016 09:31:03 -0400 Subject: [PATCH] Update show.html.erb Display Notes --- app/views/vehicles/show.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/vehicles/show.html.erb b/app/views/vehicles/show.html.erb index 22edd03..f3fd034 100644 --- a/app/views/vehicles/show.html.erb +++ b/app/views/vehicles/show.html.erb @@ -1,9 +1,13 @@

Customer Vehicle


-<%= @vehicle.qbo_customer.name if @vehicle.qbo_customer %> + + <%= @customer %> +
<%= @vehicle.to_s %>
+<%= @vehicle.notes %> +
<%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%>
<%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %>