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="close"
5 i18n-aria-label aria-label="Close" (click)="close()">
6 <span aria-hidden="true">×</span>
9 <div class="modal-body form-validated">
10 <div class="form-group form-check">
11 <input type="checkbox" class="form-check-input"
12 id="patron-visible-cbox" [(ngModel)]="pub">
13 <label class="form-check-label"
14 for="patron-visible-cbox" i18n>Patron Visible?</label>
16 <div class="form-group form-check">
17 <input type="checkbox" class="form-check-input"
18 id="hold-slip-cbox" [(ngModel)]="slip">
19 <label class="form-check-label"
20 for="hold-slip-cbox" i18n>Print on Slip?</label>
22 <div class="form-group">
23 <label for="title-input" i18n>Note Title</label>
24 <input type="text" class="form-control" id="title-input" required [(ngModel)]="title"/>
26 <div class="form-group">
27 <label for="body-input" i18n>Note Body</label>
28 <textarea class="form-control" id="body-input" required [(ngModel)]="body">
32 <button class="btn btn-success ml-auto" (click)="createNote()"
33 [disabled]="!title || !body" i18n>Create Note</button>
34 <button class="btn btn-warning ml-2" (click)="close()" i18n>Cancel</button>