]> git.phdru.name Git - m_librarian.git/blobdiff - m_librarian/web/views/list_authors.tmpl
Feat(web): Search authors
[m_librarian.git] / m_librarian / web / views / list_authors.tmpl
diff --git a/m_librarian/web/views/list_authors.tmpl b/m_librarian/web/views/list_authors.tmpl
new file mode 100644 (file)
index 0000000..b0b20ad
--- /dev/null
@@ -0,0 +1,18 @@
+#encoding utf-8
+#extends views.layout
+#attr $title = 'Список авторов'
+#def body
+<h1>$title</h1>
+
+#if $authors
+  <table>
+  #for $author in $authors
+  <tr>
+    <td>$author.fullname</td>
+  </tr>
+  #end for
+  </table>
+#else
+  <p>Не найдено ни одного автора!</p>
+#end if
+#end def