blob: ab8d64e82b9e729820cd75bb7b88dd267ad4a1ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<div class="modal-header"><h3 class="modal-title">Confirm</h3></div>
<div class="modal-body">
<div class="form-group">
<h4>Update</h4>
<div class="row">
<div ng-repeat="require in updateModal.createRequirements">
<div class="update-project" style="margin-left:24px;">
<p class="input-group">
<label for="cpid">{{require.label|capitalize}}: </label>
<a ng-if="require.type == 'text'">
<input type="text" dynamic-model="'updateModal.' + require.label"/>
</a>
<a ng-if="require.type == 'textarea'">
<textarea rows="2" cols="50" value={{require.vaule}} dynamic-model="'updateModal.' + require.label">
</textarea>
</a>
</p>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" ng-click="updateModal.confirm()">Ok</button>
<button class="btn btn-default" ng-click="updateModal.cancel()">Cancel</button>
</div>
|