diff options
author | Jef van Schendel <jefvanschendel@gmail.com> | 2011-06-22 17:02:28 +0200 |
---|---|---|
committer | Jef van Schendel <jefvanschendel@gmail.com> | 2011-06-22 17:02:28 +0200 |
commit | 1db7bed64b498da616a4c18e259d278880944ba1 (patch) | |
tree | 33748b1b36c2acd3ce570f2412c565d70576013a /mediagoblin/edit/forms.py | |
parent | 7f8a70ef25a36561042b34afba899ecf37aacfdc (diff) | |
download | mediagoblin-1db7bed64b498da616a4c18e259d278880944ba1.tar.lz mediagoblin-1db7bed64b498da616a4c18e259d278880944ba1.tar.xz mediagoblin-1db7bed64b498da616a4c18e259d278880944ba1.zip |
Several small UI changes to edit profile page: moved header, changed form wording, changed css class
Diffstat (limited to 'mediagoblin/edit/forms.py')
-rw-r--r-- | mediagoblin/edit/forms.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mediagoblin/edit/forms.py b/mediagoblin/edit/forms.py index fb4930a2..2efdb9e4 100644 --- a/mediagoblin/edit/forms.py +++ b/mediagoblin/edit/forms.py @@ -27,8 +27,8 @@ class EditForm(wtforms.Form): description = wtforms.TextAreaField('Description of this work') class EditProfileForm(wtforms.Form): + bio = wtforms.TextAreaField('Bio', + [wtforms.validators.Length(min=0, max=500)]) url = wtforms.TextField( - 'website URL', + 'Website', [wtforms.validators.URL(message='Improperly formed URL')]) - bio = wtforms.TextAreaField('bio', - [wtforms.validators.Length(min=0, max=500)]) |