Project

General

Profile

« Previous | Next » 

Revision 42164

ui links

View differences:

wf-form-row-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" 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
				<option value="">[no selection]</option>
11 10
			</select>
12

  
13 11
			<span class="form-control-feedback glyphicon"></span>
14 12
		</div>
13
		<div ng-if="links" style="margin-top: 4px">
14
			<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>
15
		</div>
15 16
	</div>
16 17
</div>
17 18

  

Also available in: Unified diff