Update _details.html.erb

This commit is contained in:
2016-04-27 14:23:56 -04:00
parent 2f5607b8ef
commit 3a64e0d5bd

View File

@@ -17,17 +17,17 @@
<tr> <tr>
<th>Style</th> <th>Style</th>
<td><%= @vehicle.details['years'][0]['styles'][0]['name'] if @vehicle.details %></td> <td><%= @vehicle.style %></td>
</tr> </tr>
<tr> <tr>
<th>Drive</th> <th>Drive</th>
<td><%= @vehicle.details['drivenWheels'] if @vehicle.details %></td> <td><%= @vehicle.drive %></td>
</tr> </tr>
<tr> <tr>
<th>Doors</th> <th>Doors</th>
<td><%= @vehicle.details['numOfDoors'] if @vehicle.details %></td> <td><%= @vehicle.doors %></td>
</tr> </tr>
<tr> <tr>