summaryrefslogtreecommitdiff
path: root/searx/templates/simple/elements
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/elements')
-rw-r--r--searx/templates/simple/elements/apis.html2
-rw-r--r--searx/templates/simple/elements/corrections.html2
-rw-r--r--searx/templates/simple/elements/infobox.html2
-rw-r--r--searx/templates/simple/elements/suggestions.html2
4 files changed, 4 insertions, 4 deletions
diff --git a/searx/templates/simple/elements/apis.html b/searx/templates/simple/elements/apis.html
index d1d5ec60d..d09fa758d 100644
--- a/searx/templates/simple/elements/apis.html
+++ b/searx/templates/simple/elements/apis.html
@@ -4,7 +4,7 @@
<div class="wrapper">
{%- for output_type in search_formats -%}
<div class="left">
- <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
+ <form method="{{ method }}" action="{{ url_for('search') }}">
<input type="hidden" name="q" value="{{ q|e }}">
{%- for category in selected_categories -%}
<input type="hidden" name="category_{{ category }}" value="1">
diff --git a/searx/templates/simple/elements/corrections.html b/searx/templates/simple/elements/corrections.html
index 57556b43f..570fb76e1 100644
--- a/searx/templates/simple/elements/corrections.html
+++ b/searx/templates/simple/elements/corrections.html
@@ -2,7 +2,7 @@
<h4 id="corrections-title">{{ _('Try searching for:') }}</h4>
{% for correction in corrections %}
<div class="left">
- <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}" role="navigation">
+ <form method="{{ method }}" action="{{ url_for('search') }}" role="navigation">
{% for category in selected_categories %}
<input type="hidden" name="category_{{ category }}" value="1">
{% endfor %}
diff --git a/searx/templates/simple/elements/infobox.html b/searx/templates/simple/elements/infobox.html
index 4d75ad802..f8e02ad9d 100644
--- a/searx/templates/simple/elements/infobox.html
+++ b/searx/templates/simple/elements/infobox.html
@@ -31,7 +31,7 @@
<div>
<h3><bdi>{{ topic.name }}</bdi></h3>
{%- for suggestion in topic.suggestions -%}
- <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
+ <form method="{{ method }}" action="{{ url_for('search') }}">
<input type="hidden" name="q" value="{{ suggestion }}">
<input type="hidden" name="time_range" value="{{ time_range }}">
<input type="hidden" name="language" value="{{ current_language }}">
diff --git a/searx/templates/simple/elements/suggestions.html b/searx/templates/simple/elements/suggestions.html
index e847578d7..7ad6f7061 100644
--- a/searx/templates/simple/elements/suggestions.html
+++ b/searx/templates/simple/elements/suggestions.html
@@ -3,7 +3,7 @@
<summary class="title" id="suggestions-title">{{ _('Suggestions') }}</summary>
<ul class="wrapper">
{%- for suggestion in suggestions -%}
- <li><form method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
+ <li><form method="{{ method }}" action="{{ url_for('search') }}">
<input type="hidden" name="q" value="{{ suggestion.url }}">
{%- for category in selected_categories -%}
<input type="hidden" name="category_{{ category }}" value="1">