4 #attr $title = 'Список книг'
9 <form action="/download/" method="POST" style="height: 80%">
10 <div style="width: 100%; height: 90%">
11 <select multiple name="books" style="height: 100%">
13 #for $author in $sorted($books_by_author)
14 #set $books = $books_by_author[$author]
16 #if $book.series != $series
17 #if $series is not None
20 #set $series = $book.series
21 <optgroup label="#slurp
24 $cgi.escape($series, 1)#slurp
30 <option value="$book.id">$book.ser_no $cgi.escape($book.title)</option>
36 <div style="width: 100%; text-align: center">
37 <input type="submit" value="Скачать">
41 <p>Не найдено ни одной книги!</p>