2 Controller: EditMailingCtrl
3 Required vars: mailing, crmMailingConst
4 FIXME: Don't hardcode table-based layout!
6 <table class=
"form-layout-compressed">
10 <label crm-ui-label
crm-for=
"fromAddress">{{ts('From')}}
</label>
16 ui-options=
"{dropdownAutoWidth : true, allowClear: false, placeholder: ts('Email address')}"
17 ng-model=
"fromPlaceholder.label"
18 ng-options=
"frm.label as frm.label for frm in crmFromAddresses.getAll() | filter:{is_active:1} | orderBy:'weight'"
20 <option value=
""></option>
26 <label crm-ui-label
crm-for=
"replyTo">{{ts('Reply-To')}}
</label>
32 ui-options=
"{dropdownAutoWidth : true, allowClear: true, placeholder: ts('Email address')}"
33 ng-model=
"mailing.replyto_email"
34 ng-options=
"frm.label as frm.label for frm in crmFromAddresses.getAll() | filter:{is_active:1} | orderBy:'weight'"
36 <option value=
""></option>
42 <label crm-ui-label
crm-for=
"recipients">{{ts('Recipients')}}
</label>
44 <td ng-include=
"partialUrl('field/recipients.html')">
49 <label crm-ui-label
crm-for=
"subject">{{ts('Subject')}}
</label>
52 <div style=
"float: right;">
53 <input crm-mailing-token
crm-for=
"subject" />
58 ng-model=
"mailing.subject"