class _Form(Form): fields = [ FieldBlock('field block', [ Field('number', convs.Int()), FieldBlock('field block', [ Field('title', convs.Char()), ]), ]), ]
class _Form(Form): fields = [ FieldSet('fs', fields=[ FieldBlock('field block', [Field('number', convs.Int())]), ]) ]
class _Form(Form): fields = [ FieldBlock('field block', fields=[ Field('number', convs.Int()), Field('title', convs.Char()), ], permissions='r'), ]
class F(Form): fields = [ Field('top', conv=convs.Int(), initial=246), FieldBlock('', fields=[ Field('num', conv=convs.Int()), Field('f2', conv=AssertConv()) ]) ]
class F(Form): fields = [ FieldSet('fieldset', fields=[ FieldList('fieldlist', field=FieldSet( None, fields=[Field('subfield')])) ]), FieldBlock('field block', [Field('blocksubfield')], name='block') ]
class _Form(Form): fields = [ FieldBlock('field block', [Field('number', convs.Int())], conv=FieldBlock.conv(validator)), ]