3 #from m_librarian.translations import translations
5 #attr $title = 'Список авторов'
8 #from views.search_authors_form import search_authors_form
9 $search_authors_form(searchList=$searchList)
16 #set $_ = $getattr($translations, 'ugettext', None) or $translations.gettext
17 #for $column in $columns
18 <td style="text-align: center">$cgi.escape($_($column))</td>
21 #for $author in $authors
23 #for $column in $columns
24 #if $column == 'count'
25 #set $style = ' style="text-align: right; width: 5ex"'
29 <td$style><a href="/books-by-author/$author.id/">
30 $cgi.escape(unicode($getattr($author, $column) or ''))
37 <p>Не найдено ни одного автора!</p>