Commit 404e66e7 authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

forms: add support for naming speakers

parent 018e62b5
......@@ -26,6 +26,11 @@ class AddStatementForm(Form):
speaker_name = StringField("Speaker", validators=[InputRequired("Entering the speaker is required.")])
topic = HiddenField("Topic")
class AddNameToSpeaker(Form):
speaker_name = StringField("Speaker", validators=[InputRequired("Entering the speaker is required.")])
speaker_id = HiddenField("Speaker_Id", validators=[NumberRange(min=0, message=None),InputRequired("ID must be a positve Integer.")])
event = HiddenField("Event")
class NewEventForm(Form):
name = StringField("Name", validators=[InputRequired("Entering the name is required.")])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment