summaryrefslogtreecommitdiff
path: root/searx/templates/simple/preferences/method.html
blob: 0e44b64353e5e79149cbcc2ca012b8053d5610fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>{{- '' -}}