Merge branch 'api'
[wolnelektury.git] / wolnelektury / templates / info / base.html
1 {% extends "base.html" %}
2 {% load i18n %}
3 {% load chunks %}
4
5 {% block title %}{{ object.page_title }}{% endblock %}
6
7 {% block metadescription %}{{ object.left_column|striptags|truncatewords:10 }}{% endblock %}
8
9 {% block body %}
10     <h1>{{ object.title }}</h1>
11     <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
12         <p>{{ form.q }} <input type="submit" value="{% trans "Search" %}" /> <strong>{%trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to the main page" %}</a></p>
13     </form>
14
15     {% autoescape off %}
16     <div class="column-left">
17         {{ object.left_column }}
18     </div>
19     <div class="column-right">
20         {{ object.right_column }}
21     </div>
22         {% endautoescape %}
23 {% endblock %}