|
|
|
extends ../layout.pug
|
|
|
|
|
|
|
|
block head
|
|
|
|
title Create Board
|
|
|
|
|
|
|
|
block content
|
|
|
|
h1.board-title Create Board
|
|
|
|
.form-wrapper.flex-center.mv-10
|
|
|
|
form.form-post(action='/forms/create' method='POST')
|
|
|
|
.row
|
|
|
|
.label URI e.g. /uri/
|
|
|
|
input(type='text', name='uri', maxlength=globalLimits.fieldLength.uri pattern='[a-zA-Z0-9]+' required title='alphanumeric only')
|
|
|
|
.row
|
|
|
|
.label Name
|
|
|
|
input(type='text', name='name', maxlength=globalLimits.fieldLength.boardname required)
|
|
|
|
.row
|
|
|
|
.label Description
|
|
|
|
input(type='text', name='description', maxlength=globalLimits.fieldLength.description required)
|
|
|
|
.row
|
|
|
|
.label Tags
|
|
|
|
textarea(name='tags' placeholder='Newline separated, max 10')
|
|
|
|
.row
|
|
|
|
.label Captcha
|
|
|
|
span.col
|
|
|
|
include ../includes/captcha.pug
|
|
|
|
input(type='submit', value='submit')
|
|
|
|
|