diff --git a/budget/forms.py b/budget/forms.py index 33d7b38..16fa0d6 100644 --- a/budget/forms.py +++ b/budget/forms.py @@ -63,6 +63,7 @@ class EditProjectForm(Form): class ProjectForm(EditProjectForm): id = TextField("Project identifier", validators=[Required()]) + password = PasswordField("Private code", validators=[Required()]) submit = SubmitField("Create the project") def validate_id(form, field):