updated app.py
This commit is contained in:
parent
64602d05d2
commit
7b5e857099
10
app.py
10
app.py
@ -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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user