Excitedly send a user a message that their comment was posted.
[mediagoblin.git] / mediagoblin / user_pages / forms.py
CommitLineData
074ac832
JW
1# GNU MediaGoblin -- federated, autonomous media hosting\r
2# Copyright (C) 2011 Free Software Foundation, Inc\r
3#\r
4# This program is free software: you can redistribute it and/or modify\r
5# it under the terms of the GNU Affero General Public License as published by\r
6# the Free Software Foundation, either version 3 of the License, or\r
7# (at your option) any later version.\r
8#\r
9# This program is distributed in the hope that it will be useful,\r
10# but WITHOUT ANY WARRANTY; without even the implied warranty of\r
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
12# GNU Affero General Public License for more details.\r
13#\r
14# You should have received a copy of the GNU Affero General Public License\r
15# along with this program. If not, see <http://www.gnu.org/licenses/>.\r
16\r
17import wtforms\r
18\r
19class MediaCommentForm(wtforms.Form):\r
20 comment = wtforms.TextAreaField('Comment',\r
21 [wtforms.validators.Required()])