Change the tests so that they include fields that are not direct children
@@ -129,8 +129,7 @@ class MyTestForm(Form):
)
joined = Field.datetime(attr='contact__joined')
a_date = Field.date()
- a_time = Field.time()
- staff = Field.boolean()
+ in_div = html.div(children__a_time=Field.time(), children__staff = Field.boolean())
admin = Field.boolean()
manages = Field.multi_choice(choices=['DEF', 'KTH', 'LIU'], required=False)
not_editable = Field.text(initial='Some non-editable text', editable=False)
