forked from zaclys/searxng
Merge branch 'master' into patch-1
This commit is contained in:
commit
935321226b
|
@ -83,13 +83,15 @@
|
||||||
|
|
||||||
{% if corrections -%}
|
{% if corrections -%}
|
||||||
<div class="result">
|
<div class="result">
|
||||||
<span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span>
|
<div class="clearfix">
|
||||||
{% for correction in corrections -%}
|
<span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span>
|
||||||
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">{{- "" -}}
|
{% for correction in corrections -%}
|
||||||
<input type="hidden" name="q" value="{{ correction.url }}">{{- "" -}}
|
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">{{- "" -}}
|
||||||
<button type="submit" class="btn btn-default btn-xs">{{ correction.title }}</button>{{- "" -}}
|
<input type="hidden" name="q" value="{{ correction.url }}">{{- "" -}}
|
||||||
</form>
|
<button type="submit" class="btn btn-default btn-xs">{{ correction.title }}</button>{{- "" -}}
|
||||||
{% endfor %}
|
</form>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue