From b20a343cd293fbfc5105f207384023aa68905f06 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 27 Apr 2016 12:41:16 -0400 Subject: [PATCH] Formating --- app/views/vehicles/_details.html.erb | 71 ++++++++++++++++------------ 1 file changed, 41 insertions(+), 30 deletions(-) diff --git a/app/views/vehicles/_details.html.erb b/app/views/vehicles/_details.html.erb index 7f02ae3..3494986 100644 --- a/app/views/vehicles/_details.html.erb +++ b/app/views/vehicles/_details.html.erb @@ -1,36 +1,47 @@ -
-
-
Customer:
-
<%= @customer %>
-
- -
-
Vehicle:
-
<%= @vehicle.to_s %>
-
- -
-
VIN:
-
<%= @vehicle.vin %>
-
+
+
+
-
-
Style:
-
<%= @style %>
-
+
+
+
Customer:
+
<%= @customer %>
+
-
-
Drive:
-
<%= @drive %>
-
+
+
Vehicle:
+
<%= @vehicle.to_s %>
+
-
-
Doors:
-
<%= @doors %>
-
+
+
VIN:
+
<%= @vehicle.vin %>
+
+ +
+
Style:
+
<%= @style %>
+
-
-
Notes:
-
<%= @vehicle.notes %>
+
+
Drive:
+
<%= @drive %>
+
+ +
+
Doors:
+
<%= @doors %>
+
+ +
+
Notes:
+
<%= @vehicle.notes %>
+
+
+ +
+ <%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%> + <%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %> +