From 443aa93c77dbaa960b95b5ef8f7293b738152b77 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 26 2014 15:18:54 +0000 Subject: Add a dedicated form to update a project's description --- diff --git a/progit/forms.py b/progit/forms.py index b0580dc..1fa5bb9 100644 --- a/progit/forms.py +++ b/progit/forms.py @@ -135,3 +135,11 @@ class AddUserForm(wtf.Form): 'Username *', [wtforms.validators.Required()] ) + + +class DescriptionForm(wtf.Form): + ''' Form to edit the description of a project. ''' + description = wtforms.TextField( + 'description *', + [wtforms.validators.Required()] + )