diff options
author | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
commit | fc7369835258467bf97eb64f184b93691f9a9fd5 (patch) | |
tree | daabd60089d2dd76d9f5fb416b005fbe159c799d /www/crm/wp-content/plugins/civicrm/civicrm/ang/crmExample/example.html |
first commit
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ang/crmExample/example.html')
-rw-r--r-- | www/crm/wp-content/plugins/civicrm/civicrm/ang/crmExample/example.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmExample/example.html b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmExample/example.html new file mode 100644 index 00000000..5393e7c1 --- /dev/null +++ b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmExample/example.html @@ -0,0 +1,42 @@ +<form name="exampleForm" novalidate> + <table> + <thead> + <tr> + <th>Name</th> + <th>Value</th> + <th>Input</th> + <th>ngModel</th> + </tr> + </thead> + + <tbody> + + <tr ng-repeat="(exName, example) in examples"> + <td>{{exName}}</td> + <td>{{example.value}}</td> + <td> + <div class="crmMailing-schedule-outer" crm-mailing-radio-date="schedule" ng-model="example.value" + name="{{exName}}"> + + <div class="crmMailing-schedule-inner"> + <div> + <input ng-model="schedule.mode" type="radio" name="send_{{exName}}" value="now" id="schedule-send-now"> + <label for="schedule-send-now">{{ts('Send immediately')}}</label> + </div> + <div> + <input ng-model="schedule.mode" type="radio" name="send_{{exName}}" value="at" id="schedule-send-at"> + <label for="schedule-send-at">{{ts('Send at:')}}</label> + <input crm-ui-datepicker ng-model="schedule.datetime" ng-required="schedule.mode == 'at'"> + </div> + </div> + </div> + </td> + <td> + <pre>{{exampleForm[exName]|json}}</pre> + </td> + </tr> + + </tbody> + </table> + +</form> |