4 <div ng-form=
"htmlForm" crm-ui-id-scope
>
5 <div ng-controller=
"EmailBodyCtrl">
6 <div style=
"float: right;">
7 <input crm-mailing-token
on-select=
"$broadcast('insert:body_html', token.name)" tabindex=
"-1"/>
12 crm-ui-id=
"htmlForm.body_html"
13 crm-ui-richtext
name=
"body_html"
14 crm-ui-insert-rx=
"insert:body_html"
15 ng-model=
"mailing.body_html"
16 ng-blur=
"checkTokens(mailing, 'body_html', 'insert:body_html')"
18 <span ng-model=
"body_html_tokens" crm-ui-validate=
"hasAllTokens(mailing, 'body_html')"></span>
19 <div ng-show=
"htmlForm.$error.crmUiValidate" class=
"crmMailing-error-link">
20 {{ts('Required tokens are missing.')}}
<a class=
"helpicon" ng-click=
"checkTokens(mailing, 'body_html', 'insert:body_html')"></a>