diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-05-06 12:54:08 -0400 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-05-06 12:54:08 -0400 |
commit | f0cfd3396e2bcfd6a0b3eead1875efd0d29f0ff5 (patch) | |
tree | e02840875abea094498b6f2d05df50194cbf8ab0 | |
parent | fffc5dcfe031d30551a91e668b377d443d9267db (diff) | |
download | mediagoblin-f0cfd3396e2bcfd6a0b3eead1875efd0d29f0ff5.tar.lz mediagoblin-f0cfd3396e2bcfd6a0b3eead1875efd0d29f0ff5.tar.xz mediagoblin-f0cfd3396e2bcfd6a0b3eead1875efd0d29f0ff5.zip |
Set up the metadata editor forms
-rw-r--r-- | mediagoblin/edit/forms.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py index cff3a53f..6cc7a9cb 100644 --- a/mediagoblin/edit/forms.py +++ b/mediagoblin/edit/forms.py @@ -123,7 +123,13 @@ class ChangeEmailForm(wtforms.Form): description=_( "Enter your password to prove you own this account.")) +class MetaDataForm(wtforms.Form): + identifier = wtforms.TextField( + _(u'Id')) + value = wtforms.TextField( + _(u'Value')) + class EditMetaDataForm(wtforms.Form): media_metadata = wtforms.FieldList( - wtforms.TextField( - _(u'Value'))) + wtforms.FormField(MetaDataForm) + ) |