Rename `<af-model>` to `<af-entity>` to better match API terminology
[civicrm-core.git] / ext / afform / docs / sandbox / planning-v0.3.md
index cce1eb46016784fa27426a25a0617334f9a4287e..2273a4b889880bc39e8622fa63a3bad5839e4cb2 100644 (file)
 
 ```html
 <af-form ctrl="modelListCtrl">
-  <af-model
+  <af-entity
     type="Individual"
     name="parent"
     label="Parent"
     api4-params="{where: ['id','=', routeParams.cid]}"
   />
-  <af-model
+  <af-entity
     type="Individual"
     name="spouse"
     label="Spouse"
 <!-- input: options.parent.id -->
 <!-- Decision: These blocks are written in straight AngularJS rather than Afform -->
 <!--<af-form>-->
-  <!--<af-model -->
+  <!--<af-entity -->
     <!--type="Email"-->
     <!--name="email"-->
     <!--label="Emails"-->
 
 ```html
 <af-form ctrl="modelListCtrl">
-  <af-model
+  <af-entity
     type="Individual"
     name="parent"
     label="Parent"
     api4-params="{where: ['id','=', routeParams.cid]}"
   />
-  <af-model
+  <af-entity
     type="Individual"
     name="spouse"
     label="Spouse"