diff options
Diffstat (limited to 'src/templates/admin/blog_create.html')
| -rw-r--r-- | src/templates/admin/blog_create.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/templates/admin/blog_create.html b/src/templates/admin/blog_create.html new file mode 100644 index 0000000..ac4740b --- /dev/null +++ b/src/templates/admin/blog_create.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} + +{% block head %} +{{ super() }} + +<link rel="stylesheet" href="/static/stylesheets/admin_blog.css"> +{% endblock %} + +{% block content %} + +<h1>create a post!</h1> + +<form class="flex-col" method="post"> + <div class="flex-col" style="margin-bottom: 12px;"> + <label for="title">title:</label> + <input type="text" name="title" /> + + <label for="description">description:</label> + <input type="text" name="description" /> + </div> + + <textarea placeholder="edit here" name="text"></textarea> + + <div class="flex-row" style="margin: 12px 0; gap: 6px;"> + <input type="checkbox" name="public" /> + <label for="public">make public</label> + </div> + + <input type="submit" value="create" /> +</form> + +{% endblock %} |
