mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-11-17 18:40:36 -05:00
The vehicle, edit and new vehicle pages' titles are a trail through the vehicle's customer (Vehicles » vehicle when it has none), and the vehicle page's actions sit under the title like the customer page's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
383 B
ERB
10 lines
383 B
ERB
<%= render partial: 'vehicles/trail', locals: { vehicle: @vehicle, tail: link_to(@vehicle.to_s, vehicle_path(@vehicle)) } %>
|
|
|
|
<%= labelled_form_for @vehicle do |f| %>
|
|
<%= render partial: 'vehicles/form', locals: { f: f } %>
|
|
<%= submit_tag l(:button_save) %>
|
|
<%= link_to l(:button_cancel), vehicle_path(@vehicle) %>
|
|
<% end %>
|
|
|
|
<% html_title(l(:label_edit_customer_vehicle)) -%>
|