summaryrefslogtreecommitdiffstats
path: root/askbot/forms.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-09 01:12:42 -0300
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2013-03-09 01:12:42 -0300
commit9ae940d578f896de39a07ae3ca08e34acacd3228 (patch)
tree8a9bb02a017083ef0aeadb7c611ac9e6fc1cc688 /askbot/forms.py
parent1fbac3a3a3352526e86f19767d67e7c614c67a3b (diff)
downloadaskbot-9ae940d578f896de39a07ae3ca08e34acacd3228.tar.gz
askbot-9ae940d578f896de39a07ae3ca08e34acacd3228.tar.bz2
askbot-9ae940d578f896de39a07ae3ca08e34acacd3228.zip
added minor edit function to the comment edits
Diffstat (limited to 'askbot/forms.py')
-rw-r--r--askbot/forms.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/askbot/forms.py b/askbot/forms.py
index ca31bf54..0fafec53 100644
--- a/askbot/forms.py
+++ b/askbot/forms.py
@@ -1342,10 +1342,6 @@ class EditAnswerForm(PostAsSomeoneForm, PostPrivatelyForm):
else:
return False
-class EditCommentForm(forms.Form):
- comment_id = forms.IntegerField()
- suppress_email = SuppressEmailField()
-
class EditTagWikiForm(forms.Form):
text = forms.CharField(required=False)
tag_id = forms.IntegerField()
@@ -1700,7 +1696,10 @@ class NewCommentForm(forms.Form):
post_id = forms.IntegerField()
class EditCommentForm(forms.Form):
+ comment_id = forms.IntegerField()
comment = forms.CharField()
+ suppress_email = SuppressEmailField()
+
class DeleteCommentForm(forms.Form):
comment_id = forms.IntegerField()