some translation stuff
[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 body %}
8     <h1>{{ object.title }}</h1>
9     <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form">
10         <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>
11     </form>
12
13     {% autoescape off %}
14     <div class="column-left">
15         {{ object.left_column }}
16     </div>
17     <div class="column-right">
18         {{ object.right_column }}
19     </div>
20         {% endautoescape %}
21 {% endblock %}