|
|
@ -34,7 +34,9 @@ class DownloadForm(FlaskForm):
|
|
|
|
length = IntegerField('Länge',
|
|
|
|
length = IntegerField('Länge',
|
|
|
|
validators=[
|
|
|
|
validators=[
|
|
|
|
InputRequired(),
|
|
|
|
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')
|
|
|
|
submit = SubmitField('Download')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|