Removed that annoying banner ;) Next year, make this an admin option.
[wolnelektury.git] / wolnelektury / templates / catalogue / book_list.html
1 {% extends "base.html" %}
2 {% load catalogue_tags chunks %}
3
4 {% block bodyid %}book-a-list{% endblock %}
5
6 {% block title %}Alfabetyczny spis utworów w WolneLektury.pl{% endblock %}
7
8 {% block body %}
9     <h1>Alfabetyczny spis utworów</h1>
10     <form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
11         <p>{{ form.q }} <input type="submit" value="Szukaj" /> <strong>lub</strong> <a href="{% url main_page %}">wróć do strony głównej</a></p>
12     </form>
13     
14     <div id="book-list">
15         {% for first_letter, group in books_by_first_letter.items %}
16         <div class="group">
17             <h2>{{ first_letter }}</h2>
18             <ol>
19             {% for book in group %}
20                 <li><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></li>
21             {% endfor %}
22             </ol>
23         </div>
24         {% endfor %}    
25     </div>
26 {% endblock %}