mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-21 22:29:38 +02:00
Fix account activity view search
This commit is contained in:
parent
2cba5177ba
commit
a9daba16c1
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<%= form_with url: account_entries_path(@account),
|
<%= form_with url: account_entries_path,
|
||||||
id: "entries-search",
|
id: "entries-search",
|
||||||
scope: :q,
|
scope: :q,
|
||||||
method: :get,
|
method: :get,
|
||||||
|
@ -35,6 +35,7 @@
|
||||||
<div class="grow">
|
<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">
|
<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") %>
|
<%= lucide_icon("search", class: "w-5 h-5 text-gray-500") %>
|
||||||
|
<%= hidden_field_tag :account_id, @account.id %>
|
||||||
<%= form.search_field :search,
|
<%= form.search_field :search,
|
||||||
placeholder: "Search entries by name",
|
placeholder: "Search entries by name",
|
||||||
value: @q[:search],
|
value: @q[:search],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue