| 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 | required |
| 21 | > |
| 22 | |
| 23 | <option value="">{{ts('Automatic')}}</option> |
| 24 | <option ng-repeat="locType in model.fields.location_type_id.options" |
| 25 | ng-value="locType.key">{{locType.value}}</option> |
| 26 | </select> |
| 27 | </div> |
| 28 | |
| 29 | <div crm-ui-field="{name: 'editRecipOptionsForm.email_selection_method', title: ts('Selection Method')}"> |
| 30 | <select |
| 31 | crm-ui-id="editRecipOptionsForm.email_selection_method" |
| 32 | crm-ui-select="" |
| 33 | name="email_selection_method" |
| 34 | ng-model="model.mailing.email_selection_method" |
| 35 | required |
| 36 | > |
| 37 | <option ng-repeat="selMet in model.fields.email_selection_method.options" |
| 38 | ng-value="selMet.key">{{selMet.value}}</option> |
| 39 | </select> |
| 40 | </div> |
| 41 | |
| 42 | </div> |
| 43 | </div> |
| 44 | </div> |