| 1 | <div ng-controller="EditRecipOptionsDialogCtrl" class="crmMailing"> |
| 2 | <div class="crm-block" ng-form="editRecipOptionsForm" crm-ui-id-scope> |
| 3 | <div class="crm-group"> |
| 4 | |
| 5 | <div crm-ui-field="{title: ts('Dedupe by email'), help: hs('dedupe_email')}" crm-layout="checkbox"> |
| 6 | <input |
| 7 | type='checkbox' |
| 8 | ng-model='model.mailing.dedupe_email' |
| 9 | ng-true-value="'1'" |
| 10 | ng-false-value="'0'" |
| 11 | /> |
| 12 | </div> |
| 13 | |
| 14 | <div crm-ui-field="{name: 'editRecipOptionsForm.location_type_id', title: ts('Location Type')}"> |
| 15 | <select |
| 16 | crm-ui-id="editRecipOptionsForm.location_type_id" |
| 17 | crm-ui-select="{dropdownAutoWidth : true}" |
| 18 | name="location_type_id" |
| 19 | ng-model="model.mailing.location_type_id" |
| 20 | > |
| 21 | <option value="">{{ts('Automatic')}}</option> |
| 22 | <option ng-repeat="locType in model.fields.location_type_id.options" |
| 23 | ng-value="locType.key">{{locType.value}}</option> |
| 24 | </select> |
| 25 | </div> |
| 26 | |
| 27 | <div crm-ui-field="{name: 'editRecipOptionsForm.email_selection_method', title: ts('Selection Method')}"> |
| 28 | <select |
| 29 | crm-ui-id="editRecipOptionsForm.email_selection_method" |
| 30 | crm-ui-select="" |
| 31 | name="email_selection_method" |
| 32 | ng-model="model.mailing.email_selection_method" |
| 33 | > |
| 34 | <option ng-repeat="selMet in model.fields.email_selection_method.options" |
| 35 | ng-value="selMet.key">{{selMet.value}}</option> |
| 36 | </select> |
| 37 | </div> |
| 38 | |
| 39 | </div> |
| 40 | </div> |
| 41 | </div> |