From 9bc9eadfb93890b4f87642780427bcacd3689c2c Mon Sep 17 00:00:00 2001
From: whit
Date: Thu, 12 Jul 2012 09:07:22 +0200
Subject: missing quotation marks in the label for field.
---
askbot/skins/common/templates/widgets/edit_post.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/askbot/skins/common/templates/widgets/edit_post.html b/askbot/skins/common/templates/widgets/edit_post.html
index 66f79237..b083c009 100644
--- a/askbot/skins/common/templates/widgets/edit_post.html
+++ b/askbot/skins/common/templates/widgets/edit_post.html
@@ -18,7 +18,7 @@
{% if post_type == 'question' %}
{% if tags_are_required %}
-
{% endif %}
+
+{% if user and user.is_staff and user.is_active %}
+ {# admin can post answers or questions on behalf of anyone. #}
+ {% if post_type == 'question' and edit_title %}
+ {# edit question already has 'user' field set #}
+