search for a vehicle by vin, make, model, or year, plus sql sanitization

This commit is contained in:
2026-02-21 08:33:59 -05:00
parent a73b6cd438
commit 6db87dd551
3 changed files with 6 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
<%= form_tag(vehicles_path, method: "get", id: "search-form") do %>
<%= text_field_tag :search, params[:search], placeholder: t(:label_search_vin), autocomplete: "off" %>
<%= text_field_tag :search, params[:search], placeholder: t(:label_search), autocomplete: "off" %>
<%= submit_tag t(:label_search) %>
<% end %>