1 {% extends "phyll/base.html" %}
4 {% block html-lang %}{{ object.lang }}{% endblock %}
5 {% block content-class %}post{% endblock %}
6 {% block page-title %}{{ object.title }} - {{ block.super }}{% endblock %}
10 <h2>{{ object.title }}</h2>
11 <div {% if request.user.is_staff %}contenteditable="true"{% endif %}>{{ object.text|safe }}</div>
12 {% if request.user.is_staff %}
13 {% csrf_token %}<button id="save">{% trans "Save" %}</button>
16 <div class="meta">{{ object.creation_timestamp|date:"j E Y, H:i"|lower }}</div>
20 {% block bottom-actions %}
21 <a href="edit/">{% trans "Edit" %}</a>
22 <a href="delete/">{% trans "Delete" %}</a>