2ad7bc93a7bc5f226fc46e95836903fd7555d775
[civicrm-core.git] / ext / search / ang / crmSearchActions / crmSearchInput / entityRef.html
1 <div class="form-group" ng-if="!$ctrl.multi">
2 <input class="form-control" ng-model="$ctrl.value" crm-entityref="{entity: $ctrl.field.fk_entity, static: $ctrl.field.fk_entity === 'Contact' ? ['user_contact_id'] : []}">
3 </div>
4 <div class="form-group" ng-if="$ctrl.multi">
5 <input class="form-control" ng-model="$ctrl.value" crm-entityref="{entity: $ctrl.field.fk_entity, select: {multiple: true}, static: $ctrl.field.fk_entity === 'Contact' ? ['user_contact_id'] : []}" ng-list >
6 </div>