1
0
Fork 0
ncpn/templates/admin/paste-new.html

19 lines
520 B
HTML
Raw Normal View History

2024-11-17 22:52:17 +01:00
{% extends "../base.html" %}
{% block title %}Create Paste{% endblock %}
{% block bodyClass %}admin-pastes{% endblock %}
{% block header %}
<h1>Create Paste</h1>
{% endblock %}
{% block main %}
<form method="post" action="/admin/pastes">
<input type="text" name="title" placeholder="Paste title" required value="{{paste_title}}" />
<textarea name="content" placeholder="Paste content" required>{{paste_content}}</textarea>
<input type="submit" value="Create" />
</form>
{% call super() %}
{% endblock %}