It was like that when I got here
This commit is contained in:
parent
331423d3f6
commit
18251d7f00
36 changed files with 1534 additions and 1000 deletions
18
templates/admin/paste-new.html
Normal file
18
templates/admin/paste-new.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{% 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue