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" (click)="close()">
6 <span aria-hidden="true">×</span>
9 <div class="modal-body">
10 <h5 i18n>Select a Lead Part</h5>
11 <div class="row" *ngFor="let part of parts">
12 <div class="col-lg-10 offset-lg-1">
13 <div class="form-check">
14 <input class="form-check-input" type="radio" name="lead"
15 value="{{part.id()}}" [(ngModel)]="leadPart">
16 <label class="form-check-label">{{part.label()}}</label>
21 <div class="modal-footer">
22 <button type="button" class="btn btn-success"
23 (click)="mergeParts()" i18n>Merge</button>
24 <button type="button" class="btn btn-warning"
25 (click)="close()" i18n>Cancel</button>