Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 32 class IMyFields(interface.Interface):
- 33
- 34 name = schema.TextLine(
- 35 title=u"Name",
- 36 description=u'Beschreibung',
- 37 required=True,
- 38 constraint = validation.validation.validateZahl
- 39 )
- 40
- 41 ngwzs = schema.List(
- 42 title = u"Neue Gewerbszweige",
- 43 description = u"Bitte klicken Sie auf Hinzufügen falls neue Gewerbszweige hinzugekommen sind.",
- 44 required = False,
- 45 value_type = schema.Object(
- 46 title=u"Gewerbszweige",
- 47 schema=IGewerbszweig),
- 48 )
- 49
Add Comment
Please, Sign In to add comment