1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ihatemoney_ynh.git synced 2024-09-03 19:26:15 +02:00

Merge mistake, my bad

- Restore ProjectForm.password as a PasswordField and not TextField
This commit is contained in:
Arnaud Bos 2011-09-18 23:50:14 +02:00
parent 681f22f3e4
commit 402dbce153

View file

@ -63,6 +63,7 @@ class EditProjectForm(Form):
class ProjectForm(EditProjectForm): class ProjectForm(EditProjectForm):
id = TextField("Project identifier", validators=[Required()]) id = TextField("Project identifier", validators=[Required()])
password = PasswordField("Private code", validators=[Required()])
submit = SubmitField("Create the project") submit = SubmitField("Create the project")
def validate_id(form, field): def validate_id(form, field):