This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
IcyNet.eu/views/news/composer.pug

32 lines
839 B
Plaintext
Raw Normal View History

2017-08-29 12:00:36 +00:00
extends ../layout.pug
block append links
script(src="//cdnjs.cloudflare.com/ajax/libs/ckeditor/4.7.2/ckeditor.js")
block title
|Icy Network - News - Compose
block body
.document
.content
if message.text
if message.error
.message.error
span #{message.text}
else
.message
span #{message.text}
form(action="", method="post")
input(type="hidden", name="csrf", value=csrf)
label(for="title") Title
2017-08-30 12:23:45 +00:00
input(type="text", name="title", id="title", value=formkeep.title)
2017-08-29 12:00:36 +00:00
label(for="composer1") Content
2017-08-30 12:23:45 +00:00
textarea(name="content" id="composer1") #{formkeep.content}
2017-08-29 12:00:36 +00:00
label(for="tags") Tags
2017-08-30 12:23:45 +00:00
input(type="text", name="tags", id="tags", value=formkeep.tags)
2017-08-29 12:00:36 +00:00
input(type="submit", value="Submit")
script.
CKEDITOR.replace('composer1')
a(href="/news") Back to news directory