diff --git a/progit/forms.py b/progit/forms.py index 80cc353..dd089ad 100644 --- a/progit/forms.py +++ b/progit/forms.py @@ -108,3 +108,11 @@ class ProjectSettingsForm(wtf.Form): if 'project' in kwargs: self.issue_tracker.data = kwargs['project'].issue_tracker self.project_docs.data = kwargs['project'].project_docs + + +class UserSettingsForm(wtf.Form): + ''' Form to create or edit project. ''' + ssh_key = wtforms.TextAreaField( + 'Public ssh key *', + [wtforms.validators.Required()] + )