diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-03-09 01:12:42 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-03-09 01:12:42 -0300 |
commit | 9ae940d578f896de39a07ae3ca08e34acacd3228 (patch) | |
tree | 8a9bb02a017083ef0aeadb7c611ac9e6fc1cc688 /askbot/forms.py | |
parent | 1fbac3a3a3352526e86f19767d67e7c614c67a3b (diff) | |
download | askbot-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.py | 7 |
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() |