diff --git a/app/views/account/entries/index.html.erb b/app/views/account/entries/index.html.erb index c66d37679cf..1ce474093a5 100644 --- a/app/views/account/entries/index.html.erb +++ b/app/views/account/entries/index.html.erb @@ -26,7 +26,7 @@
- <%= form_with url: account_entries_path(@account), + <%= form_with url: account_entries_path, id: "entries-search", scope: :q, method: :get, @@ -35,6 +35,7 @@
<%= lucide_icon("search", class: "w-5 h-5 text-gray-500") %> + <%= hidden_field_tag :account_id, @account.id %> <%= form.search_field :search, placeholder: "Search entries by name", value: @q[:search],