mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-08-18 21:20:43 -04:00
Dynamically update the new issue link with vehicle id
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<div class="container">
|
||||
|
||||
<% if show_checkbox %>
|
||||
<%= check_box_tag "vehicle_ids[]", vehicle.id, false, onchange: "updateLink()", data: { url: vehicle_path(vehicle).html_safe, text: vehicle.to_s }, class: "appointment checkbox" %>
|
||||
<%= check_box_tag "vehicle_ids[]", vehicle.id, false, onchange: "updateLink()", data: { url: vehicle_path(vehicle).html_safe, text: vehicle.to_s }, class: "vehicle-checkbox appointment checkbox" %>
|
||||
<% else %>
|
||||
<div class='checkbox'>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user