blob: ac4740bc8d33f8a99af1f4e7b22257f3629e1816 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 %}
|