Skip to content
Snippets Groups Projects
Commit 568687c1 authored by Jiří Setnička's avatar Jiří Setnička
Browse files

Round: Lze editovat i jméno

parent 06369dc4
No related branches found
No related tags found
1 merge request!48Dělená kola napotřetí
This commit is part of merge request !36. Comments created here will be created in the context of that merge request.
...@@ -362,6 +362,7 @@ class MODateTimeField(wtforms.DateTimeField): ...@@ -362,6 +362,7 @@ class MODateTimeField(wtforms.DateTimeField):
class RoundEditForm(FlaskForm): class RoundEditForm(FlaskForm):
name = wtforms.StringField("Název")
state = wtforms.SelectField("Stav kola", choices=db.RoundState.choices(), coerce=db.RoundState.coerce) state = wtforms.SelectField("Stav kola", choices=db.RoundState.choices(), coerce=db.RoundState.coerce)
# Only the desktop Firefox does not support datetime-local field nowadays, # Only the desktop Firefox does not support datetime-local field nowadays,
# other browsers does provide date and time picker UI :( # other browsers does provide date and time picker UI :(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment