Add missing field description from #774

This commit is contained in:
Baptiste Jonglez 2021-07-09 01:24:29 +02:00
parent 42dd2d6f7d
commit 8b2da3757c

View file

@ -104,7 +104,10 @@ class CalculatorStringField(StringField):
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"))