mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Create _details.html.erb
This commit is contained in:
37
app/views/vehicles/_details.html.erb
Normal file
37
app/views/vehicles/_details.html.erb
Normal file
@@ -0,0 +1,37 @@
|
||||
<div style="width: 100%; display: table;">
|
||||
<div style="display: table-row">
|
||||
<div style="width: 600px; display: table-cell;">
|
||||
|
||||
<strong>
|
||||
<%= @customer%>
|
||||
</strong>
|
||||
<br/>
|
||||
<%= @vehicle.to_s %>
|
||||
<br/>
|
||||
|
||||
<div class="vin">
|
||||
<div style="float: left">
|
||||
Notes:
|
||||
</div>
|
||||
<div style="float: left">
|
||||
<%= @vehicle.vin %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="notes">
|
||||
<div style="float: left">
|
||||
Notes:
|
||||
</div>
|
||||
<div style="float: left">
|
||||
<%= @vehicle.notes %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="display: table-cell;">
|
||||
<%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%>
|
||||
<%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user