2024-08-10 21:01:49 +02:00
|
|
|
{% extends "base.html" %}
|
2020-11-21 20:51:32 +01:00
|
|
|
|
2024-08-10 21:01:49 +02:00
|
|
|
{% block head %}
|
|
|
|
{{ super() }}
|
|
|
|
<title>Submit post</title>
|
|
|
|
<meta property="og:title" content="Submit post" />
|
|
|
|
{% endblock head %}
|
2020-11-21 20:51:32 +01:00
|
|
|
|
2024-08-10 09:41:01 +02:00
|
|
|
|
2024-08-10 21:01:49 +02:00
|
|
|
{% block content %}
|
|
|
|
<form id="submit-form" action="/api/blog/create" method=POST>
|
|
|
|
<label for="title">Title</label>
|
|
|
|
<textarea id="submit-title" type="text" name="title">{{ title }}</textarea>
|
|
|
|
<br />
|
|
|
|
<label for="submit-body">Content</label>
|
|
|
|
<textarea id="submit-body" type="text" name="body">{{ body }}</textarea>
|
|
|
|
<br />
|
|
|
|
<div class="submit-box">
|
|
|
|
<div>
|
|
|
|
<label for="token">Password</label>
|
|
|
|
<input id="token" type="password" name="token">
|
|
|
|
</div>
|
2024-08-10 09:41:01 +02:00
|
|
|
<button id="submit-button" type="submit">Submit</button>
|
2024-08-10 21:01:49 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{% endblock content %}
|