diff options
| author | Matej Cotman <cotman.matej@gmail.com> | 2014-03-29 16:45:22 +0100 |
|---|---|---|
| committer | Matej Cotman <cotman.matej@gmail.com> | 2014-03-29 16:50:48 +0100 |
| commit | 32e98967b76df8088a5759c90650ae65808932bc (patch) | |
| tree | 112714c00ef4b4dcc21080ede436cb74ec273c5f /searx/templates/search.html | |
| parent | 879bac8adb181593989a132fabd607f50096473a (diff) | |
add optional request with GET method for search and results pages
Diffstat (limited to 'searx/templates/search.html')
| -rw-r--r-- | searx/templates/search.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/search.html b/searx/templates/search.html index 95e312e5a..30d1568cf 100644 --- a/searx/templates/search.html +++ b/searx/templates/search.html @@ -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" /> |