mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
856 B
27 lines
856 B
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')
|
|
if captchaType === 'text'
|
|
include ../includes/captchasidelabel.pug
|
|
else
|
|
include ../includes/captchafieldrow.pug
|
|
input(type='submit', value='submit')
|
|
|
|
|