2 Controller: EditMailingCtrl
3 Required vars: mailing, crmMailingConst
5 <div class=
"crm-block" ng-form=
"subform" crm-ui-id-scope
>
6 <div class=
"crm-group" ng-controller=
"EmailBodyCtrl">
7 <div crm-ui-field=
"{name: 'subform.header_id', title: ts('Mailing Header'), help: hs('header')}">
9 crm-ui-id=
"subform.header_id"
12 ui-options=
"{dropdownAutoWidth : true, allowClear: true}"
13 ng-change=
"checkTokens(mailing, '*')"
14 ng-model=
"mailing.header_id"
15 ng-options=
"mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Header'} | orderBy:'name'">
16 <option value=
""></option>
19 <div crm-ui-field=
"{name: 'subform.footer_id', title: ts('Mailing Footer'), help: hs('footer')}">
21 crm-ui-id=
"subform.footer_id"
24 ui-options=
"{dropdownAutoWidth : true, allowClear: true}"
25 ng-change=
"checkTokens(mailing, '*')"
26 ng-model=
"mailing.footer_id"
27 ng-options=
"mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Footer'} | orderBy:'name'">
28 <option value=
""></option>