diff --git a/markupwiki/templates/markupwiki/article.html b/markupwiki/templates/markupwiki/article.html index a1308af..ce42193 100644 --- a/markupwiki/templates/markupwiki/article.html +++ b/markupwiki/templates/markupwiki/article.html @@ -20,22 +20,24 @@ {% if article %} view history {% endif %} - - {% if article and form %} -
- -
- {% endif %} {% endblock %} +{% if article and mod_form %} +
+
+ +
+
+{% endif %} +
{% block article_body %} {% if article.is_deleted %} diff --git a/markupwiki/views.py b/markupwiki/views.py index daf47eb..f03dff8 100644 --- a/markupwiki/views.py +++ b/markupwiki/views.py @@ -52,7 +52,7 @@ def view_article(request, title, n=None): context = {'article':article, 'version': version} if request.user.is_staff: - context['form'] = StaffModerationForm(instance=article) + context['mod_form'] = StaffModerationForm(instance=article) return render_to_response('markupwiki/article.html', context, context_instance=RequestContext(request))