Add chapters
This commit is contained in:
@@ -3,4 +3,16 @@ extend templates/layout.pug
|
||||
block content
|
||||
.container
|
||||
.center
|
||||
h1= entry.name
|
||||
h1= entry.name
|
||||
|
||||
a.btn.black(href=`/library/${entry.id}/chapters/add`) add chapter
|
||||
|
||||
if entry.chapters.length == 0
|
||||
p.flow-text No chapters added
|
||||
else
|
||||
.row
|
||||
each chapter in entry.chapters
|
||||
.col.s12
|
||||
a(href=`/library/${entry.id}/chapters/${chapter.id}`)
|
||||
.card-panel
|
||||
p.flow-text= chapter.name
|
||||
Reference in New Issue
Block a user