2022-11-29 19:36:50 +00:00
|
|
|
<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>
|
2022-12-01 18:18:39 +00:00
|
|
|
<input type="submit" value="Create Article" />
|
2022-11-29 19:36:50 +00:00
|
|
|
</form>
|
|
|
|
</details>
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>Write Note</summary>
|
2022-12-01 18:18:39 +00:00
|
|
|
<form action="" method="post">
|
|
|
|
<h2>Create New Note</h2>
|
|
|
|
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
|
|
|
|
<input type="hidden" name="type" value="note">
|
|
|
|
<label for="content">Content</label>
|
2022-12-01 18:20:13 +00:00
|
|
|
<textarea name="content" placeholder="Content" rows="8"></textarea>
|
2022-12-01 18:18:39 +00:00
|
|
|
<br><br>
|
|
|
|
<input type="submit" value="Create Note" />
|
|
|
|
</form>
|
2022-11-29 19:36:50 +00:00
|
|
|
</details>
|