Project

General

Profile

« Previous | Next » 

Revision 42164

ui links

View differences:

wf-form-row-multi-select.html
2 2
	<label class="col-sm-3 control-label">{{name}}
3 3
		<span ng-show="description" style="display: block; font-size: 75%; color: darkgrey;">{{description}}</span>
4 4
	</label>
5

  
6 5
	<div class="col-sm-9">
7 6
		<div bs-has-error>
8 7
			<select class="form-control" multiple="multiple" rows="10" ng-model="ngModel" ng-input="ngModel"
9 8
			        ng-options="item.id as item.name for item in finalValues" ng-required="isRequired" ng-class="{'empty': !ngModel || ngModel.trim() == ''}">
10 9
			</select>
11

  
12 10
			<span class="form-control-feedback glyphicon"></span>
13
			
14 11
			<button type="button" class="btn btn-xs btn-default" style="margin-top: 6px" ng-click="refreshValues()" ng-show="valuesFunction">
15 12
				<span class="glyphicon glyphicon-refresh"></span>
16 13
			</button>
17 14
		</div>
15
		<div ng-if="links" style="margin-top: 4px">
16
			<a href="{{l.paramRequired ? (l.url | sprintf: ngModel) : l.url}}" ng-repeat="l in links" ng-if="ngModel || !l.paramRequired" style="margin-right:10px;">{{l.label}}</a>
17
		</div>
18 18
	</div>
19 19
</div>
20 20

  

Also available in: Unified diff