1
|
<div class="form-group" bs-has-error>
|
2
|
<label class="col-sm-3 control-label">{{label}}</label>
|
3
|
<div class="col-sm-8">
|
4
|
<select class="form-control" ng-model="selection" ng-required="required" ng-class="{'empty': !selection || selection.trim() == ''}">
|
5
|
<option></option>
|
6
|
<option ng-repeat="term in validValues" value="{{term.id}}">{{term.id}} (Name: {{term.name}})</option>
|
7
|
</select>
|
8
|
<span class="glyphicon form-control-feedback" style="margin-right: 20px"></span>
|
9
|
|
10
|
<button type="button" class="btn btn-xs btn-default" style="margin-top: 6px" ng-click="refreshFunction()" ng-show="refreshFunction">
|
11
|
<span class="glyphicon glyphicon-refresh"></span> fetch list
|
12
|
</button>
|
13
|
</div>
|
14
|
</div>
|