Exemple #1
0
class AddLink(AddObjectForm):
    link_types = [subtype for subtype in link_subtypes.items()]
    subtype = SelectField(choices=link_types)
    source_name = SelectField()
    destination_name = SelectField()
Exemple #2
0
class AddLink(AddObjectForm):
    link_types = [subtype for subtype in link_subtypes.items()]
    subtype = SelectField('Type', choices=link_types)
    source = SelectField('Source', choices=())
    destination = SelectField('Destination', choices=())