parent
ff84c8838d
commit
aa30394089
2 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,9 @@ class DownloadForm(FlaskForm):
|
|||
length = IntegerField('Länge',
|
||||
validators=[
|
||||
InputRequired(),
|
||||
NumberRange(min=1, max=app.config['MAX_LENGTH'])])
|
||||
NumberRange(
|
||||
min=1, max=app.config['MAX_LENGTH'],
|
||||
message="Länge muss zwischen %(min)s and %(max)s Minuten sein")])
|
||||
submit = SubmitField('Download')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue