aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Bos <arnaud.tlse@gmail.com>2011-09-18 23:50:14 +0200
committerArnaud Bos <arnaud.tlse@gmail.com>2011-09-18 23:50:14 +0200
commit402dbce153639668d47db00fdc7a0479d9ebc3f6 (patch)
treed0bc8a061ed626d5e9bbef0b12980cdd7ace3743
parent681f22f3e47c3fb75fdb1d858b179e945c952596 (diff)
downloadihatemoney-mirror-402dbce153639668d47db00fdc7a0479d9ebc3f6.zip
ihatemoney-mirror-402dbce153639668d47db00fdc7a0479d9ebc3f6.tar.gz
ihatemoney-mirror-402dbce153639668d47db00fdc7a0479d9ebc3f6.tar.bz2
Merge mistake, my bad
- Restore ProjectForm.password as a PasswordField and not TextField
-rw-r--r--budget/forms.py1
1 files changed, 1 insertions, 0 deletions
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):