Created
August 31, 2015 11:12
-
-
Save cruor99/1f111eac092d244fbaa0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ComposeForm(Form): | |
cheese = SelectField(u'Ostetopping') | |
topping = SelectMultipleField(u'Toppingvalg', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) | |
seafood = SelectMultipleField(u'Sj\xf8mat', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) | |
veggies = SelectMultipleField(u'Frukt og Gr\xf8nt', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) | |
mincedmeat = SelectMultipleField(u'Kj\xf8ttdeig', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) | |
meat = SelectMultipleField(u'Kj\xf8tt', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) | |
beef = SelectMultipleField(u'Biff', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) | |
assorted = SelectMultipleField(u'Diverse', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) | |
chicken = SelectMultipleField(u'Kylling', | |
option_widget=widgets.CheckboxInput(), | |
widget=widgets.ListWidget(prefix_label=False) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment