mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update _details.html.erb
This commit is contained in:
@@ -2,44 +2,44 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Vehicle</th>
|
<th>Vehicle</th>
|
||||||
<td><%= @vehicle.to_s %></td>
|
<td><%= vehicle.to_s %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>VIN</th>
|
<th>VIN</th>
|
||||||
<td><%= @vehicle.vin %></td>
|
<td><%= vehicle.vin %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Style</th>
|
<th>Style</th>
|
||||||
<td><%= @vehicle.style %></td>
|
<td><%= vehicle.style %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Drive</th>
|
<th>Drive</th>
|
||||||
<td><%= @vehicle.drive %></td>
|
<td><%= vehicle.drive %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Doors</th>
|
<th>Doors</th>
|
||||||
<td><%= @vehicle.doors %></td>
|
<td><%= vehicle.doors %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Notes</th>
|
<th>Notes</th>
|
||||||
<td><%= @vehicle.notes %></td>
|
<td><%= vehicle.notes %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th>Issues</th>
|
<th>Issues</th>
|
||||||
<td><%= @vehicle.issues.count %></td>
|
<td><%= vehicle.issues.count %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td/>
|
<td/>
|
||||||
<td>
|
<td>
|
||||||
<%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%>
|
<%= button_to "Edit", edit_vehicle_path(vehicle), method: :get%>
|
||||||
<%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %>
|
<%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user