extend templates/layout.pug block content .container .center h1= entry.name .divider .row 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 .divider .row a.btn.black(href=`/library/${entry.id}/translations/add`) add translation if entry.translationEntries.length == 0 p.flow-text No chapters added else .row each translationEntry in entry.translationEntries .col.s12 a(href=`/library/${entry.id}/translations/${translationEntry.id}`) .card-panel p.flow-text= translationEntry.name