Commit | Line | Data |
---|---|---|
7df1588e TO |
1 | <!-- |
2 | Controller: EditMailingCtrl | |
3 | Required vars: mailing, crmMailingConst | |
7df1588e | 4 | --> |
f8601d61 | 5 | <div class="crm-block" ng-form="subform" crm-ui-id-scope> |
21fb26b8 | 6 | <div class="crm-group" ng-controller="EmailBodyCtrl"> |
1ce7f3e4 | 7 | <div crm-ui-field="{name: 'subform.header_id', title: ts('Mailing Header'), help: hs('header')}"> |
7df1588e | 8 | <select |
f8601d61 | 9 | crm-ui-id="subform.header_id" |
7df1588e TO |
10 | name="header_id" |
11 | ui-jq="select2" | |
12 | ui-options="{dropdownAutoWidth : true, allowClear: true}" | |
89f476c4 | 13 | ng-change="checkTokens(mailing, '*')" |
7df1588e | 14 | ng-model="mailing.header_id" |
b9c6f53c | 15 | ng-options="mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Header'} | orderBy:'name'"> |
7df1588e TO |
16 | <option value=""></option> |
17 | </select> | |
0112f1ae | 18 | </div> |
1ce7f3e4 | 19 | <div crm-ui-field="{name: 'subform.footer_id', title: ts('Mailing Footer'), help: hs('footer')}"> |
7df1588e | 20 | <select |
f8601d61 | 21 | crm-ui-id="subform.footer_id" |
7df1588e TO |
22 | name="footer_id" |
23 | ui-jq="select2" | |
24 | ui-options="{dropdownAutoWidth : true, allowClear: true}" | |
89f476c4 | 25 | ng-change="checkTokens(mailing, '*')" |
7df1588e | 26 | ng-model="mailing.footer_id" |
b9c6f53c | 27 | ng-options="mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Footer'} | orderBy:'name'"> |
7df1588e TO |
28 | <option value=""></option> |
29 | </select> | |
0112f1ae TO |
30 | </div> |
31 | </div> | |
32 | </div> |