23 lines
840 B
HTML
23 lines
840 B
HTML
|
<details>
|
||
|
<summary>Write Article</summary>
|
||
|
<form action="" method="post">
|
||
|
<h2>Create New Article</h2>
|
||
|
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
|
||
|
<input type="hidden" name="type" value="article">
|
||
|
<label for="title">Title</label>
|
||
|
<input type="text" name="title" placeholder="Title" />
|
||
|
<label for="description">Description</label>
|
||
|
<input type="text" name="description" placeholder="Description" />
|
||
|
<label for="content">Content</label>
|
||
|
<textarea name="content" placeholder="Content" rows="24"></textarea>
|
||
|
<input type="checkbox" name="draft" />
|
||
|
<label for="draft">Draft</label>
|
||
|
<br><br>
|
||
|
<input type="submit" value="Create" />
|
||
|
</form>
|
||
|
</details>
|
||
|
|
||
|
<details>
|
||
|
<summary>Write Note</summary>
|
||
|
TODO
|
||
|
</details>
|