indent form fields
This commit is contained in:
parent
62bada5537
commit
76981eb246
1 changed files with 6 additions and 3 deletions
|
@ -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')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue