1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00

Fix account activity view search
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled

This commit is contained in:
Zach Gollwitzer 2024-12-05 08:39:16 -05:00
parent 2cba5177ba
commit a9daba16c1

View file

@ -26,7 +26,7 @@
</div>
<div>
<%= form_with url: account_entries_path(@account),
<%= form_with url: account_entries_path,
id: "entries-search",
scope: :q,
method: :get,
@ -35,6 +35,7 @@
<div class="grow">
<div class="flex items-center px-3 py-2 gap-2 border border-gray-200 rounded-lg focus-within:ring-gray-100 focus-within:border-gray-900">
<%= 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],