19 lines
520 B
HTML
19 lines
520 B
HTML
{% 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 %}
|