crablog/site/content/templates/submit.html

26 lines
733 B
HTML
Raw Normal View History

{% extends "base.html" %}
{% block head %}
{{ super() }}
<title>Submit post</title>
<meta property="og:title" content="Submit post" />
{% endblock head %}
2024-08-10 09:41:01 +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>
</div>
</form>
{% endblock content %}