updated app.py

This commit is contained in:
simoon 2022-01-12 13:34:29 +01:00
parent 64602d05d2
commit 7b5e857099

10
app.py
View File

@ -35,25 +35,25 @@ class UploadForm(FlaskForm):
validators=[FileAllowed(["db"], "Metadata databases only")], validators=[FileAllowed(["db"], "Metadata databases only")],
) )
title = RadioField( title = RadioField(
"title", choices=[("side a", "side a"), ("side b", "side b")], default="side a" "Title", choices=[("side a", "side a"), ("side b", "side b")], default="side a"
) )
authors = RadioField( authors = RadioField(
"authors", "Authors",
choices=[("side a", "side a"), ("side b", "side b")], choices=[("side a", "side a"), ("side b", "side b")],
default="side a", default="side a",
) )
comments = RadioField( comments = RadioField(
"comments", "Comments",
choices=[("side a", "side a"), ("side b", "side b")], choices=[("side a", "side a"), ("side b", "side b")],
default="side a", default="side a",
) )
timestamp = RadioField( timestamp = RadioField(
"timestamp", "Timestamp",
choices=[("side a", "side a"), ("side b", "side b")], choices=[("side a", "side a"), ("side b", "side b")],
default="side a", default="side a",
) )
tags = RadioField( tags = RadioField(
"tags", choices=[("side a", "side a"), ("side b", "side b")], default="side b" "Tags", choices=[("side a", "side a"), ("side b", "side b")], default="side b"
) )
petname = HiddenField("petname") petname = HiddenField("petname")