From 76981eb24695c00879bc97079875caaec020c4e9 Mon Sep 17 00:00:00 2001 From: neingeist Date: Mon, 12 Nov 2018 14:38:48 +0100 Subject: [PATCH] indent form fields --- prolefeeder.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/prolefeeder.py b/prolefeeder.py index fdb43fd..61a1cc7 100644 --- a/prolefeeder.py +++ b/prolefeeder.py @@ -20,10 +20,13 @@ Bootstrap(app) class DownloadForm(FlaskForm): - start_time = DateTimeField('Start time', validators=[InputRequired()], + start_time = DateTimeField('Start time', + validators=[InputRequired()], format='%Y-%m-%d %H:%M') - length = IntegerField('Length', validators=[InputRequired(), - NumberRange(min=1, max=app.config['MAX_LENGTH'])]) + length = IntegerField('Length', + validators=[ + InputRequired(), + NumberRange(min=1, max=app.config['MAX_LENGTH'])]) submit = SubmitField('Download')