summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences/method.html
diff options
context:
space:
mode:
Diffstat (limited to 'searx/templates/simple/preferences/method.html')
-rw-r--r--searx/templates/simple/preferences/method.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/searx/templates/simple/preferences/method.html b/searx/templates/simple/preferences/method.html
new file mode 100644
index 000000000..0e44b6435
--- /dev/null
+++ b/searx/templates/simple/preferences/method.html
@@ -0,0 +1,16 @@
+<fieldset>{{- '' -}}
+ <legend id="pref_method">{{- _('HTTP Method') -}}</legend>{{- '' -}}
+ <div class="value">{{- '' -}}
+ <select name='method' aria-labelledby="pref_method">{{- '' -}}
+ <option value="POST"
+ {%- if method == 'POST' %} selected="selected"{%- endif -%}>POST{{- '' -}}
+ </option>{{- '' -}}
+ <option value="GET"
+ {%- if method == 'GET' %} selected="selected"{%- endif -%}>GET{{- '' -}}
+ </option>{{- '' -}}
+ </select>{{- '' -}}
+ </div>{{- '' -}}
+ <div class="description">
+ {{- _('Change how forms are submitted, <a href="http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol#Request_methods" rel="external">learn more about request methods</a>') -}}
+ </div>{{- '' -}}
+</fieldset>{{- '' -}}