<mat-card class="confirm-card mat-elevation-z">
  <mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
    <mat-card-title>{{ data.title }}</mat-card-title>
  </mat-card-header>
  <mat-card-content>
    <form name="inputForm" [formGroup]="inputForm" novalidate>
      <mat-form-field hintLabel="특수문자는 '-,_'만 사용할 수 있습니다.">
        <input
          matInput
          #input
          maxlength="20"
          placeholder="그룹이름"
          formControlName="groupName"
        />
        <mat-hint align="end">{{ input.value?.length || 0 }}/20</mat-hint>
      </mat-form-field>
    </form>
  </mat-card-content>
  <mat-card-actions class="button-farm flex-row">
    <button
      mat-stroked-button
      (click)="onClickChoice(false)"
      class="mat-primary"
    >
      No
    </button>
    <button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
      Yes
    </button>
  </mat-card-actions>
</mat-card>