aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/edit/forms.py
diff options
context:
space:
mode:
authorsaksham1115 <saksham115@gmail.com>2016-06-03 11:55:46 +0000
committersaksham1115 <saksham115@gmail.com>2016-07-19 17:29:08 +0000
commit19ba17d95066e55afde4db125cf139aae1831650 (patch)
treec1c64b13ec66a14a34bbd0c7913f47e2c6d68457 /mediagoblin/edit/forms.py
parent74bc86732e016f5926f5654525485afb6411bb8d (diff)
downloadmediagoblin-19ba17d95066e55afde4db125cf139aae1831650.tar.lz
mediagoblin-19ba17d95066e55afde4db125cf139aae1831650.tar.xz
mediagoblin-19ba17d95066e55afde4db125cf139aae1831650.zip
Subtitle built over attachments : working
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r--mediagoblin/edit/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py
index 83e83c3c..f98b672d 100644
--- a/mediagoblin/edit/forms.py
+++ b/mediagoblin/edit/forms.py
@@ -100,6 +100,12 @@ class EditAttachmentsForm(wtforms.Form):
attachment_file = wtforms.FileField(
'File')
+class EditSubtitlesForm(wtforms.Form):
+ subtitle_name = wtforms.StringField(
+ 'Title')
+ subtitle_file = wtforms.FileField(
+ 'File')
+
class EditCollectionForm(wtforms.Form):
title = wtforms.StringField(