From a8cb7414d3ffe01f2bac3ccb6d83d92ee7cde0e2 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 8 Jan 2019 20:07:15 -0800 Subject: [PATCH] Update embed.md --- ext/afform/docs/embed.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ext/afform/docs/embed.md b/ext/afform/docs/embed.md index 5109f90b7e..4be406dfe9 100644 --- a/ext/afform/docs/embed.md +++ b/ext/afform/docs/embed.md @@ -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.)* -- 2.25.1