Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/o/collective.harlequin-1.0b4/collective/harlequin/example/browser.py   collective.harlequin(Download)
class Form(forms.Form):
    """An other form"""
 
    label = _(u"My super example with form")
    fields = forms.field.Fields(Schema)

src/c/o/collective.harlequin-1.0b4/collective/harlequin/browser/base.py   collective.harlequin(Download)
    def _create_form_page(self):
        """Create a form page based on the schema"""
        form = metaclass.makeClass('HarlequinMetaForm',(forms.Form,), {})
        form.fields = forms.field.Fields(self.harlequin_schema)
        form.label = _("Harlequin dynamic configuration form")