<div>
	<p class="input-group perms-dialog" name="owners_actions_tr">
		<input type="text" class="form-control js-owner_search" lmsg="placeholder:common.perms_dialog.hint" ng-model="perms.search">

		<span class="input-group-append">
			<button id="pd_button_remove" type="button" class="btn btn-danger" ng-click="perms.deleteSelectedOwner()"><lmsg src="common.perms_dialog.remove_selected">[Remove selected]</lmsg></button>
		</span>
	</p>

	<p class="input-group perms-dialog">
		<select name="owners" ng-change="perms.onOwnersClick()" class="form-control" multiple="multiple" ng-model="perms.selectedOwner">
			<option ng-repeat="owner in perms.model.owners" value="{{owner.value}}">{{owner.name}}</option>
		</select>
	</p>

	<div class="perms-footer">
		<span id="perms_effective_tr" name="view_effective_tr">
			<a class="btn btn-secondary" href="javascript:void(0)" ng-click="perms.openEffectivePermissionsWindow($event)">
				<ion-icon name="key-outline"></ion-icon>
				<txt name="view_effective_single" visible="0"><lmsg src="common.perms_dialog.effective_perms_single">[View matching users]</lmsg></txt>
			</a>
		</span>
	</div>
</div>
