filter country
This commit is contained in:
parent
0a5c711629
commit
92ae3fb533
|
@ -95,8 +95,9 @@
|
||||||
<div class="card mb-3" ng-if="currentUser.valid && ((currentUser.role == 'USER') || (currentUser.role == 'NATIONAL_ADMIN'))">
|
<div class="card mb-3" ng-if="currentUser.valid && ((currentUser.role == 'USER') || (currentUser.role == 'NATIONAL_ADMIN'))">
|
||||||
<div class="card-header bg-primary text-white py-1">Countries</div>
|
<div class="card-header bg-primary text-white py-1">Countries</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
|
<input type="text" class="form-control form-control-sm mb-3" ng-model="countryFilter" placeholder="Filter country...">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<div class="col-xs-12 col-md-6 col-lg-4" ng-repeat="c in vocabularies.countries">
|
<div class="col-xs-12 col-md-6 col-lg-4" ng-repeat="c in vocabularies.countries | filter:countryFilter">
|
||||||
<div class="form-check form-check-inline">
|
<div class="form-check form-check-inline">
|
||||||
<input class="form-check-input" type="checkbox" checklist-model="currentUser.countries" checklist-value="c.value"/>
|
<input class="form-check-input" type="checkbox" checklist-model="currentUser.countries" checklist-value="c.value"/>
|
||||||
<label class="form-check-label">{{c.name}}</label>
|
<label class="form-check-label">{{c.name}}</label>
|
||||||
|
|
Loading…
Reference in New Issue