extends ../layout.pug include ../mixins/post.pug block head title /#{board._id}/ - Recent Posts block content h1.board-title /#{board._id}/ - #{board.name} h4.board-description #{board.description} include ../includes/postform.pug hr(size=1) form(action='/api/board/'+board._id+'/delete' method='POST' enctype='application/x-www-form-urlencoded') input(type='hidden' name='_csrf' value=csrf) if threads.length === 0 p No posts. hr(size=1) for thread in threads section.thread(id=thread._id) +post(board, thread) for post in thread.replies +post(board, post) hr(size=1) input#password(type='password', name='password', placeholder='password (for deletion)' autocomplete='off') input(type='submit', value='delete')