1 <ng-template #dialogContent>
2 <div class="modal-header bg-info">
3 <h4 class="modal-title">Add Hold Note for Hold #{{holdId}}</h4>
4 <button type="button" class="btn-close btn-close-white"
5 i18n-aria-label aria-label="Close" (click)="close()"></button>
7 <div class="modal-body form-validated">
8 <div class="form-group form-check">
9 <input type="checkbox" class="form-check-input"
10 id="patron-visible-cbox" [(ngModel)]="pub">
11 <label class="form-label form-check-label"
12 for="patron-visible-cbox" i18n>Patron Visible?</label>
14 <div class="form-group form-check">
15 <input type="checkbox" class="form-check-input"
16 id="hold-slip-cbox" [(ngModel)]="slip">
17 <label class="form-label form-check-label"
18 for="hold-slip-cbox" i18n>Print on Slip?</label>
20 <div class="form-group">
21 <label class="form-label" for="title-input" i18n>Note Title</label>
22 <input type="text" class="form-control" id="title-input" required [(ngModel)]="title"/>
24 <div class="form-group">
25 <label class="form-label" for="body-input" i18n>Note Body</label>
26 <textarea class="form-control" id="body-input" required [(ngModel)]="body">
30 <button class="btn btn-success ms-auto" (click)="createNote()"
31 [disabled]="!title || !body" i18n>Create Note</button>
32 <button class="btn btn-warning ms-2" (click)="close()" i18n>Cancel</button>