# All files / src/app/shared/components/confirmation-modal confirmation-modal.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    2792x

     <cd-modal (hide)="cancel()">
      <ng-container class="modal-title">{{ titleText }}</ng-container>
      <ng-container class="modal-content">
        <form name="confirmationForm"
              class="form-horizontal"
              #formDir="ngForm"
              [formGroup]="confirmationForm"
              novalidate>
          <div class="modal-body">
            <ng-container *ngTemplateOutlet="bodyTpl; context: bodyContext"></ng-container>
          </div>
          <div class="modal-footer">
            <div class="button-group text-right">
              <cd-submit-button [form]="confirmationForm"
                                (submitAction)="onSubmit(confirmationForm.value)">
                {{ buttonText }}
              </cd-submit-button>
              <cd-back-button [back]="boundCancel"
                              name="Cancel"
                              i18n-name>
              </cd-back-button>
            </div>
          </div>
        </form>
      </ng-container>
    </cd-modal>