]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/web/views/books_by_author.tmpl
Feat(web): Загружать выбранный список книг
[m_librarian.git] / m_librarian / web / views / books_by_author.tmpl
index 668e4453b079cf764b78c3e7e1a529b0531386b0..bdd694ea6d162c3a48434edb4700a3cf01fde3e6 100644 (file)
@@ -6,8 +6,9 @@
 <h1>$title $author.fullname</h1>
 
 #if $books
-  <form action="" method="POST" style="height: 80%">
-  <select multiple style="height: 90%">
+  <form action="/download/" method="POST" style="height: 80%">
+  <div style="width: 100%; height: 90%">
+  <select multiple name="books" style="height: 100%">
   #set $series = None
   #for $book in $books
   #if $book.series != $series
@@ -27,6 +28,10 @@ $cgi.escape($series, 1)#slurp
   #end for
   </optgroup>
   </select>
+  </div>
+  <div style="width: 100%; text-align: center">
+  <input type="submit" value="Скачать">
+  </div>
   </form>
 #else
   <p>Не найдено ни одной книги!</p>