From 6350bb61c20c356f3bc41de31eb8eb873b68d2c2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 24 2014 09:21:11 +0000 Subject: Add a form to add a user --- diff --git a/progit/forms.py b/progit/forms.py index 64aae15..b0580dc 100644 --- a/progit/forms.py +++ b/progit/forms.py @@ -127,3 +127,11 @@ class UserSettingsForm(wtf.Form): 'Public ssh key *', [wtforms.validators.Required()] ) + + +class AddUserForm(wtf.Form): + ''' Form to add a user to a project. ''' + user = wtforms.TextField( + 'Username *', + [wtforms.validators.Required()] + )