diff options
author | Joar Wandborg <git@wandborg.com> | 2011-08-05 22:08:29 +0200 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2011-08-05 22:08:29 +0200 |
commit | 2c4374938f05782cd8aceb789098f787d04adc51 (patch) | |
tree | 222ad3421e8c3e1b73f2db57e7204bd92ef6978e /mediagoblin/edit/forms.py | |
parent | 4d74812dfc5a671aa50f54951ffe9e0ee520f8f7 (diff) | |
download | mediagoblin-2c4374938f05782cd8aceb789098f787d04adc51.tar.lz mediagoblin-2c4374938f05782cd8aceb789098f787d04adc51.tar.xz mediagoblin-2c4374938f05782cd8aceb789098f787d04adc51.zip |
Feature #482 - Media attachments
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r-- | mediagoblin/edit/forms.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py index a1783a72..37e2349c 100644 --- a/mediagoblin/edit/forms.py +++ b/mediagoblin/edit/forms.py @@ -30,6 +30,10 @@ class EditForm(wtforms.Form): tags = wtforms.TextField( 'Tags', [tag_length_validator]) + attachment_name = wtforms.TextField( + 'Attachment title') + attachment_delete = wtforms.BooleanField( + 'Delete attachment') class EditProfileForm(wtforms.Form): bio = wtforms.TextAreaField('Bio', |