forum: fix typo in search bar checkbox class name

This commit is contained in:
Antoine Bartuccio 2018-12-13 14:06:33 +01:00 committed by Skia
parent 068a80519c
commit 82ffd75372

View File

@ -158,7 +158,7 @@
{% macro display_search_bar(request) %} {% macro display_search_bar(request) %}
<form class="search_bar" action="{{ url('forum:search') }}" method="GET"> <form class="search_bar" action="{{ url('forum:search') }}" method="GET">
<input type="text" placeholder="{% trans %}Search{% endtrans %}" name="query" value="{{ request.GET.query|default('') }}"/> <input type="text" placeholder="{% trans %}Search{% endtrans %}" name="query" value="{{ request.GET.query|default('') }}"/>
<input type="checkbox" class="sreach_check" name="order" value="date" {% if request.GET.order|default("") == "date" or (request.GET.order|default("") == "" and request.GET.query|default("") == "") -%} <input type="checkbox" class="search_check" name="order" value="date" {% if request.GET.order|default("") == "date" or (request.GET.order|default("") == "" and request.GET.query|default("") == "") -%}
checked checked
{%- endif -%}> {% trans %}Order by date{% endtrans %}<br> {%- endif -%}> {% trans %}Order by date{% endtrans %}<br>
<input type="submit" class="search_bouton" value="{% trans %}Search{% endtrans %}"/> <input type="submit" class="search_bouton" value="{% trans %}Search{% endtrans %}"/>