2 Controller: EditMailingCtrl
3 Required vars: mailing, crmMailingConst
6 <div class=
"crm-block">
7 <div class=
"crm-group">
8 <div crm-ui-field=
"msg_template_id" crm-title=
"ts('Template')" style=
"background: #bbf; width:100%; padding: 0.1em;">
10 <div ng-include=
"partialUrl('field/msg_template_id.html')"></div>
13 <div crm-ui-field=
"fromAddress" crm-title=
"ts('From')">
17 ui-options=
"{dropdownAutoWidth : true, allowClear: false, placeholder: ts('Email address')}"
18 ng-model=
"fromPlaceholder.label"
19 ng-options=
"frm.label as frm.label for frm in crmFromAddresses.getAll() | filter:{is_active:1} | orderBy:'weight'"
21 <option value=
""></option>
24 <div crm-ui-field=
"replyTo" crm-title=
"ts('Reply-To')">
28 ui-options=
"{dropdownAutoWidth : true, allowClear: true, placeholder: ts('Email address')}"
29 ng-model=
"mailing.replyto_email"
30 ng-options=
"frm.label as frm.label for frm in crmFromAddresses.getAll() | filter:{is_active:1} | orderBy:'weight'"
32 <option value=
""></option>
35 <div crm-ui-field=
"recipients" crm-title=
"ts('Recipients')">
37 <div ng-include=
"partialUrl('field/recipients.html')"></div>
40 <div crm-ui-field=
"subject" crm-title=
"ts('Subject')">
41 <div style=
"float: right;">
42 <input crm-mailing-token
crm-for=
"subject" />
47 ng-model=
"mailing.subject"