summaryrefslogtreecommitdiffstats
path: root/src/view
diff options
context:
space:
mode:
Diffstat (limited to 'src/view')
-rw-r--r--src/view/main.phel6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/main.phel b/src/view/main.phel
index 809b765..decd4d5 100644
--- a/src/view/main.phel
+++ b/src/view/main.phel
@@ -44,7 +44,11 @@
(for [b :in books]
[:li (:title (:book b))
" by "
- (authors-list (:authors b) router)])]]
+ (authors-list (:authors b) router)
+ " "
+ [:form {:action (str "/book/" (:id (:book b)) "/session")
+ :method "POST"}
+ [:button "Start"]]])]]
[:aside
[:h2 "Add new book"]
[:div {:class "flex-center position-ref full-height"}