|
@ -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") |
|
|
|
|
|
|
|
|