distribusi-verse/verse/distribusikan/forms/publicthemeform.py

15 lines
311 B
Python
Raw Normal View History

2022-03-19 17:08:04 +01:00
"""Form object declaration."""
2024-04-21 20:44:08 +02:00
2022-03-19 17:08:04 +01:00
from flask_wtf import FlaskForm
2024-04-21 20:44:08 +02:00
from wtforms import RadioField, SubmitField
2022-03-19 17:08:04 +01:00
class PublicThemeForm(FlaskForm):
2024-05-28 23:02:17 +02:00
"""PublicTheme selection form."""
2022-03-19 17:08:04 +01:00
2024-05-28 23:02:17 +02:00
publicthemes = RadioField(
"Public themes from other distribusi-verse users:"
)
2022-03-19 17:08:04 +01:00
2024-05-28 23:02:17 +02:00
save = SubmitField("Save")