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.
21 lines
506 B
21 lines
506 B
"""Form object declaration."""
|
|
from flask_wtf import FlaskForm
|
|
from wtforms import (
|
|
RadioField,
|
|
SubmitField,
|
|
)
|
|
|
|
|
|
class ThemeForm(FlaskForm):
|
|
"""Basic theme selection form."""
|
|
|
|
theme = RadioField(
|
|
"Select your theme:",
|
|
choices=[
|
|
("hacking", "Hackers (black background, green text)"),
|
|
("peachsunset", "Peach sunset (single column)"),
|
|
("masonry", "Masonry (white background, grid layout)"),
|
|
],
|
|
)
|
|
|
|
save = SubmitField("Save")
|
|
|