django-markupwiki/markupwiki/templates/article.html

24 lines
521 B
HTML
Raw Normal View History

2010-03-30 14:43:30 +00:00
<h2>{{article.title}}</h2>
2010-03-30 15:15:15 +00:00
{% if not article.locked %} <a href="{% url edit_article article.title %}">edit article</a> {% endif %}
2010-03-30 14:43:30 +00:00
| <a href="{% url article_history article.title %}">view history</a>
{% if form %}
<form method="POST" action="{% url update_article_status article.title %}">
{{ form.as_ul }}
<input type="submit" />
</form>
{% endif %}
<div class="about">
</div>
<div class="body">
{% if article.deleted %}
This article has been deleted.
{% else %}
{{version.body}}
{% endif %}
</div>