-<af-model-list ctrl="modelListCtrl" >
- <af-model-prop af-type="Individual" af-name="parent" af-label="Parent" af-api4-params="{where: ['id','=', routeParams.cid]}" />
- <af-model-prop af-type="Individual" af-name="spouse" af-label="Spouse" af-contact-relationship="['Spouse of', 'parent']" />
- <af-model-prop af-type="Household" af-name="home" af-label="Home" />
+<af-model-list ctrl="modelListCtrl">
+ <!-- FIXME: Distinguish "Individual"s from "Household"s -->
+ <af-model-prop af-type="Contact" af-name="parent" af-label="Parent" af-api4-params="{where: ['id','=', routeParams.cid]}"></af-model-prop>
+ <af-model-prop af-type="Contact" af-name="spouse" af-label="Spouse" af-contact-relationship="['Spouse of', 'parent']"></af-model-prop>
+ <af-model-prop af-type="Contact" af-name="home" af-label="Home"></af-model-prop>
<!-- "parent" and "spouse" should be exported as variables in this scope -->
<af-model af-name="parent">
<af-block-contact-name af-label="My Name" />
<af-block-contact-email af-label="My Email" />
- <af-field field-name="do_not_email" field-type="checkbox" field-default="1" />
+ <af-field field-name="do_not_email" />
</af-model>
<af-model af-name="spouse">