extends ../../layouts/main block content include ../components/draft-list include ../components/list include ../../post/components/summary include ../../components/pagination-bar section.uk-section.uk-section-default.uk-section-xsmall .uk-container.uk-container-expand div(uk-grid).uk-flex-middle .uk-width-expand h2.uk-margin-remove Drafts .uk-width-auto if user.permissions.canAuthorPosts || user.flags.isAdmin a(href= "/post/compose").uk-button.uk-button-primary.uk-border-rounded span i.fas.fa-plus span.uk-margin-small-left.uk-text-bold Create Post .uk-width-medium a(href= "/author").uk-button.uk-button-primary.uk-border-rounded span.uk-margin-small-middle.uk-text-bold Author Dashboard div(uk-grid) div(class="uk-width-1-1 uk-width-3-3@m") +renderSectionTitle('Drafts') +renderFullDraftList(drafts.posts)