blob: 417af37f94ddf64105ca52a8e99fac92006de096 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<div class="modal-header"><h3 class="modal-title">Confirm</h3></div>
<div class="modal-body">
<div class="confirm" ng-class="{ 'hidden': confirmModal.data.text=='Delete' }">
<div class="form-group">
<label for="confirmText">{{confirmModal.data.text}}:</label>
<textarea type="text" class="form-control"
rows="5" ng-model="confirmModal.inputText" id="confirmText">
</textarea>
</div>
</div>
<div class="Delete" ng-class="{ 'hidden': confirmModal.data.text!='Delete' }">
<div class="form-group">
<label for="confirmText"> You are about to delete following {{confirmModal.data.resource}} : {{confirmModal.deleteObjects}} </label>
<br>
Do you want to proceed?
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-primary" ng-click="confirmModal.confirm()">Ok</button>
<button class="btn btn-default" ng-click="confirmModal.cancel()">Cancel</button>
</div>
|