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
949 B
27 lines
949 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' data-captcha-preload='true')
|
|
.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)
|
|
.row
|
|
.label #{__('Tags')}
|
|
textarea(name='tags' placeholder=__('Newline separated, max 10'))
|
|
if captchaOptions.type === 'text'
|
|
include ../includes/captchasidelabel.pug
|
|
else
|
|
include ../includes/captchafieldrow.pug
|
|
input(type='submit', value=__('Create'))
|
|
|
|
|