Merge pull request #2111 from gangural/issue-2110-fix

Fix UI bug when search contain typo

Closes #2110
This commit is contained in:
Noémi Ványi 2020-08-01 21:40:21 +02:00 committed by GitHub
commit c8986ec5d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -83,6 +83,7 @@
{% if corrections -%}
<div class="result">
<div class="clearfix">
<span class="result_header text-muted form-inline pull-left suggestion_item">{{ _('Try searching for:') }}</span>
{% for correction in corrections -%}
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" role="navigation" class="form-inline pull-left suggestion_item">{{- "" -}}
@ -91,6 +92,7 @@
</form>
{% endfor %}
</div>
</div>
{%- endif %}
{% if answers -%}