##// END OF EJS Templates
Version bump
Version bump

File last commit:

r1072:8518d258 default
r1113:0f2ef17d 2.6.1 default
Show More
search.html
42 lines | 1.1 KiB | text/html | HtmlLexer
{% extends 'boards/base.html' %}
{% load board %}
{% load i18n %}
{% block head %}
<title>{% trans 'Search' %} - {{ site_name }}</title>
<meta name="robots" content="noindex">
{% endblock %}
{% block content %}
<div class="post-form-w">
<div class="post-form">
<form method="get" action="">
{{ form.as_div }}
<div class="form-submit">
<input type="submit" value="{% trans 'Ok' %}">
</div>
</form>
</div>
</div>
{% if page %}
{% if page.has_previous %}
<div class="page_link">
<a href="?query={{ query }}&amp;page={{ page.previous_page_number }}">{% trans "Previous page" %}
</a>
</div>
{% endif %}
{% for result in page.object_list %}
{{ result.object.get_search_view }}
{% endfor %}
{% if page.has_next %}
<div class="page_link">
<a href="?query={{ query }}&amp;page={{ page.next_page_number }}">{% trans "Next page" %}
</a>
</div>
{% endif %}
{% endif %}
{% endblock %}