<div bsModal #clinicNotesModal="bs-modal" (onShown)="onShown()" class="modal fade" tabindex="-1" role="dialog"
    aria-labelledby="clinicNotesModal" aria-hidden="true" [config]="{backdrop: 'static', keyboard: !saving}">
    <div class="modal-dialog modal-lg">

        <div class="modal-content">

            <form #clinicNotesForm="ngForm" role="form" novalidate enctype="multipart/form-data" class="form-validation"
                *ngIf="active" (submit)="save()">
                <div class="modal-header">
                    <h5 class="modal-title">
                        <span>{{"Clinic Notes" | localize}}</span>
                    </h5>
                    <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')"
                        [disabled]="saving">
                        <span aria-hidden="true">&times;</span>
                    </button>
                </div>

                <div class="modal-body">
                    <div [class]="containerClass">
                        <div class="width-100">
                            <div class="form-group row">
                                <div class="col-lg-12 form-group-bottom">
                                    <label>Notes:</label>
                                    <textarea class="form-control" placeholder="Add clinic notes here..."></textarea>
                                    <span class="form-text text-muted"></span>
                                </div>
                                <div class="col-lg-12 form-group-bottom">
                                    <label class="kt-checkbox">
                                        <input type="checkbox"> Visible to driver
                                        <span></span>
                                    </label>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" [disabled]="saving" class="btn btn-secondary btn-elevate btn-pill"
                        (click)="close()">{{"Close" | localize}}</button>
                    <button type="button" class="btn btn-primary btn-pill btn-elevate" [disabled]="!clinicNotesForm.form.valid" [buttonBusy]="saving" [busyText]="l('SavingWithThreeDot')">
                        <i class="fa fa-save"></i> <span>{{"Save" | localize}}</span>
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>