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

Submit button label changed in project creation form

This commit is contained in:
Frédéric Sureau 2011-08-05 16:12:02 +02:00
parent f4da4d9a33
commit 4e24edd5c9

View file

@ -6,7 +6,7 @@ class ProjectForm(Form):
id = TextField("Project identifier", validators=[Required()]) id = TextField("Project identifier", validators=[Required()])
password = PasswordField("Password", validators=[Required()]) password = PasswordField("Password", validators=[Required()])
contact_email = TextField("Email", validators=[Required(), Email()]) contact_email = TextField("Email", validators=[Required(), Email()])
submit = SubmitField("Get in") submit = SubmitField("Create the project")
def save(self): def save(self):
"""Create a new project with the information given by this form. """Create a new project with the information given by this form.