From 7d7b13d73f0489f2e7e4007dcfa9b1e0b8ebbaee Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 30 Jul 2018 17:32:27 -0700 Subject: [PATCH] Doc tweaks --- ext/afform/README.md | 2 +- ext/afform/docs/angular.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/afform/README.md b/ext/afform/README.md index b2505d5935..24ca9bf560 100644 --- a/ext/afform/README.md +++ b/ext/afform/README.md @@ -43,7 +43,7 @@ git clone https://github.com/FIXME/org.civicrm.afform.git cv en afform ``` -## Development +## Developer Documentation * [Quick Start: Creating the canonical definition of a basic form](docs/quickstart.md) * [Writing Forms: Afform as basic AngularJS templates](docs/writing.md) (With example: *Contact Record*) diff --git a/ext/afform/docs/angular.md b/ext/afform/docs/angular.md index e63a354a8a..fc18a01b24 100644 --- a/ext/afform/docs/angular.md +++ b/ext/afform/docs/angular.md @@ -7,8 +7,8 @@ need these? Here are few tricks: * You can create your own applications and pages with full AngularJS. (See also: [CiviCRM Developer Guide: AngularJS: Quick Start](https://docs.civicrm.org/dev/en/latest/framework/angular/quickstart/)). Then embed the afform (like `helloworld`) in your page with these steps: * Declare a dependency on module (`afformHelloworld`). This is usually done in `ang/MYMODULE.ang.php` and/or `ang/MYMODULE.js`. - * In your HTML template, use the directive `
`. I - * f you want to provide extra data, services, or actions for the form author -- then pass them along. + * In your HTML template, use the directive `
`. + * If you want to provide extra data, services, or actions for the form author -- then pass them along. * You can write your own directives with full AngularJS (e.g. `civix generate:angular-directive`). These directives become available for use in other afforms. * If you start out distributing an `afform` and later find it too limiting, then you can change your mind and convert it to static code in full AngularJS. As long as you name it consistently (e.g. `afform-helloworld`), downstream consumers can use the static version as a drop-in replacement. -- 2.25.1