mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
add optional request with GET method for search and results pages
This commit is contained in:
parent
879bac8adb
commit
32e98967b7
4 changed files with 21 additions and 5 deletions
|
|
@ -1,4 +1,4 @@
|
|||
<form method="post" action="{{ url_for('index') }}" id="search_form">
|
||||
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form">
|
||||
<div id="search_wrapper">
|
||||
<input type="text" placeholder="{{ _('Search for...') }}" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
|
||||
<input type="submit" value="search" id="search_submit" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue