{% load i18n %}{% load url from future %}
<form action='{% url 'haystack_search' %}' method='get'>
    <!--suppress HtmlFormInputWithoutLabel -->
    <input type="text" name="q" value="{{ request.GET.q }}">
    <input type='submit' value='{% trans "Search" %}'/>
</form>
