ef702ebfea84facc2fc5a5f9f36cd83f037af318
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / catalog / record / part-merge-dialog.component.html
1 <ng-template #dialogContent>
2   <div class="modal-header bg-info">
3     <h4 class="modal-title" i18n>Merge Monograph Parts</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     <h5 i18n>Select a Lead Part</h5>
12     <div class="row" *ngFor="let part of parts">
13       <div class="col-lg-10 offset-lg-1">
14         <div class="form-check">
15           <input class="form-check-input" type="radio" name="lead"
16             value="{{part.id()}}" [(ngModel)]="leadPart">
17           <label class="form-check-label">{{part.label()}}</label>
18         </div>
19       </div>
20     </div>
21   </div>
22   <div class="modal-footer">
23     <button type="button" class="btn btn-success" 
24       (click)="mergeParts()" i18n>Merge</button>
25     <button type="button" class="btn btn-warning" 
26       (click)="dismiss('canceled')" i18n>Cancel</button>
27   </div>
28 </ng-template>