Skip to content

Commit

Permalink
Add missing field description from #774
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptiste Jonglez committed Jul 8, 2021
1 parent 42dd2d6 commit 8b2da37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ihatemoney/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ def process_formdata(self, valuelist):
class EditProjectForm(FlaskForm):
name = StringField(_("Project name"), validators=[DataRequired()])
# If empty -> don't change the password
password = PasswordField(_("New private code"))
password = PasswordField(
_("New private code"),
description=_("Enter a new code if you want to change it"),
)
contact_email = StringField(_("Email"), validators=[DataRequired(), Email()])
project_history = BooleanField(_("Enable project history"))
ip_recording = BooleanField(_("Use IP tracking for project history"))
Expand Down

0 comments on commit 8b2da37

Please sign in to comment.