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.
29 lines
779 B
29 lines
779 B
extends ../layout.pug
|
|
|
|
block head
|
|
script(src='/js/theme.js')
|
|
script(src='/js/captcha.js')
|
|
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='50' pattern='[a-zA-Z0-9]+' required title='alphanumeric only')
|
|
.row
|
|
.label Name
|
|
input(type='text', name='name', maxlength='50' required)
|
|
.row
|
|
.label Description
|
|
input(type='text', name='description', maxlength='50' 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')
|
|
|
|
|