1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-30 11:24:21 +01:00
fab-manager/app/assets/templates/shared/_member_select.html.erb

17 lines
615 B
Plaintext
Raw Normal View History

2015-05-05 03:10:25 +02:00
<div class="widget panel b-a m">
<div class="panel-heading b-b small">
2016-03-23 18:39:41 +01:00
<h3 class="panel-title" translate>{{ 'select_a_member' }}</h3>
2015-05-05 03:10:25 +02:00
</div>
<div class="widget-content no-bg auto wrapper">
2016-03-23 18:39:41 +01:00
<ui-select ng-model="ctrl.member" on-select="updateMember()">
<ui-select-match>
<span ng-bind="$select.selected.name"></span>
</ui-select-match>
<ui-select-choices repeat="m in (members | filter: {'name':$select.search})">
<span ng-bind-html="m.name | highlight: $select.search"></span>
</ui-select-choices>
</ui-select>
2015-05-05 03:10:25 +02:00
{{member}}
</div>
</div>