forked from crunk/distribusi-verse
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
494 B
20 lines
494 B
3 years ago
|
"""Form object declaration."""
|
||
7 months ago
|
|
||
3 years ago
|
from flask_wtf import FlaskForm
|
||
7 months ago
|
from wtforms import RadioField, SubmitField
|
||
3 years ago
|
|
||
|
|
||
|
class ThemeForm(FlaskForm):
|
||
6 months ago
|
"""Basic theme selection form."""
|
||
3 years ago
|
|
||
6 months ago
|
theme = RadioField(
|
||
|
"Select your theme:",
|
||
|
choices=[
|
||
|
("hacking", "Hackers (black background, green text)"),
|
||
|
("peachsunset", "Peach sunset (single column)"),
|
||
|
("masonry", "Masonry (white background, grid layout)"),
|
||
|
],
|
||
|
)
|
||
3 years ago
|
|
||
6 months ago
|
save = SubmitField("Save")
|