Update embed.md
authorTim Otten <totten@civicrm.org>
Wed, 9 Jan 2019 04:07:15 +0000 (20:07 -0800)
committerCiviCRM <info@civicrm.org>
Wed, 16 Sep 2020 02:13:17 +0000 (19:13 -0700)
ext/afform/docs/embed.md

index 5109f90b7e4996a3e9b9a6c45454ce87274120e0..4be406dfe921d9640ca6869ae64eb5e0d380fd49 100644 (file)
@@ -50,8 +50,12 @@ Next, we should create an overall `afform/contact/layout.html` which uses these
 ```
 
 And we should create a `afform/contact/meta.json` looking like
-```
-{"server_route": "civicrm/contact", "requires" : ["afformContactName", "afformContactEmails", "afformContactAddresses"]}
+
+```json
+{
+  "server_route": "civicrm/contact", 
+  "requires" : ["afformContactName", "afformContactEmails", "afformContactAddresses"]
+}
 ```
 > *(FIXME: In the parent form's `meta.json`, we need to manually add `afformContactName`, `afformContactAddresses`, `afformContactEmails` to the `requires` list. We should autodetect these instead.)*