mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-08 13:55:23 +02:00
feat: can now choose search result types
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
<div class="flex items-center gap-2 min-w-[90px] w-full">
|
||||
<form class="w-full relative" hx-boost="true" method="get" action="/search"
|
||||
hx-trigger="keyup changed delay:500ms from:#search-input, search from:#search-input" hx-push-url="true">
|
||||
{% if view_param is defined and view_param and view_param != 'all' %}
|
||||
<input type="hidden" name="view" value="{{ view_param }}" />
|
||||
{% endif %}
|
||||
<input id="search-input" type="search" aria-label="Search" class=" nb-input w-full pl-9 ml-2" name="query"
|
||||
autocomplete="off" value="{{ query_param | default('', true) }}" />
|
||||
<button type="submit"
|
||||
|
||||
Reference in New Issue
Block a user