pastebin/templates/viewpaste.html
Konrad Borowski 741c4e3017 Remove revision system
It's unnecessary with Markdown implementation and prevents
improvements to the future features.
2019-03-08 09:38:01 +01:00

24 lines
928 B
HTML

{% extends "base.html" %}
{% block content %}
{{ paste.markdown|safe }}
<form method="post" action="/">
<p>
{% let selected_language = paste.language_id %}
{% include "language_selector.html" %}
{% match paste.delete_at %}
{% when Some with (delete_at) %}
<span data-delete-on-modify>
This paste will be automatically deleted on {{delete_at.format("%Y-%m-%d %H:%M")}} UTC.
</span>
{% when None %}
{% endmatch %}
<label data-autohide>
<input type=checkbox name=autodelete checked> Automatically delete after 24 hours
</label>
</p>
<p><textarea id=code name=code>{{ "\n" }}{{ paste.paste }}</textarea></p>
<p>
<input type=submit value=Share data-autodisable>
</form>
{% endblock content %}