added js to copy vin on click

This commit is contained in:
2026-02-13 21:28:45 -05:00
parent 12fb8b47ef
commit 5cad4a6856
4 changed files with 37 additions and 3 deletions

View File

@@ -18,7 +18,9 @@
<tr>
<th><%= t(:field_vin) %></th>
<td><%= @vin[0] if @vin %><b><%=@vin[1] if @vin%></b></td>
<td id="vin">
<a href="#" onclick="handleCopy(event)"><%= @vin[0] if @vin %><b><%=@vin[1] if @vin%></b></a>
</td>
</tr>
<th><%= t(:label_trim) %></th>