forum: use pure jinja for search bar

This commit is contained in:
2018-12-12 16:54:19 +01:00
committed by Skia
parent 6891174935
commit fc7e45190d
6 changed files with 10 additions and 31 deletions

View File

@@ -11,7 +11,7 @@
{% block content %}
{% if topic %}
{{ display_search_bar() }}
{{ display_search_bar(request) }}
<p>
<a href="{{ url('forum:main') }}">{% trans %}Forum{% endtrans %}</a>
{% for f in topic.forum.get_parent_list() %}