forked from crunk/distribusi-verse
22 lines
506 B
Python
22 lines
506 B
Python
"""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")
|