1d7936b17630bfe4eb4cf5e6f8eaaeda6bf1cae8
[Evergreen.git] / Open-ILS / src / eg2 / src / app / share / dialog / prompt.component.html
1 <ng-template #dialogContent>
2   <div class="modal-header bg-info">
3     <h4 class="modal-title">{{dialogTitle}}</h4>
4     <button type="button" class="close" 
5       i18n-aria-label aria-label="Close" 
6       (click)="dismiss('cross_click')">
7       <span aria-hidden="true">&times;</span>
8     </button>
9   </div>
10   <div class="modal-body">
11     <p>{{dialogBody}}</p>
12     <div class="text-center">
13         <input class="form-control" [(ngModel)]="promptValue"/>
14     </div>
15   </div>
16   <div class="modal-footer">
17     <button type="button" class="btn btn-success" 
18       (click)="close(promptValue)" i18n>Confirm</button>
19     <button type="button" class="btn btn-warning" 
20       (click)="dismiss('canceled')" i18n>Cancel</button>
21   </div>
22 </ng-template>