37 lines
1.1 KiB
HTML
Raw Normal View History

2019-11-25 10:51:45 +09:00
<mat-card class="confirm-card mat-elevation-z">
2019-10-21 16:32:22 +09:00
<mat-card-header cdkDrag cdkDragRootElement=".cdk-overlay-pane" cdkDragHandle>
<mat-card-title>{{ data.title }}</mat-card-title>
2019-10-16 15:36:18 +09:00
</mat-card-header>
2019-10-21 16:32:22 +09:00
<mat-card-content>
<form name="inputForm" [formGroup]="inputForm" novalidate>
2020-01-08 12:30:39 +09:00
<mat-form-field
hintLabel="{{
'common.useOnlyForSpecialCharacter'
| translate: { specialCharacter: '-,_' }
}}"
>
2019-10-21 16:32:22 +09:00
<input
matInput
#input
maxlength="20"
2020-01-08 12:30:39 +09:00
placeholder="{{ 'group.name' | translate }}"
2019-10-21 16:32:22 +09:00
formControlName="groupName"
/>
<mat-hint align="end">{{ input.value?.length || 0 }}/20</mat-hint>
</mat-form-field>
</form>
</mat-card-content>
2019-10-16 15:36:18 +09:00
<mat-card-actions class="button-farm flex-row">
<button
mat-stroked-button
(click)="onClickChoice(false)"
class="mat-primary"
>
2020-01-08 12:30:39 +09:00
{{ 'common.messages.no' | translate }}
2019-10-16 15:36:18 +09:00
</button>
<button mat-flat-button (click)="onClickChoice(true)" class="mat-primary">
2020-01-08 12:30:39 +09:00
{{ 'common.messages.yes' | translate }}
2019-10-16 15:36:18 +09:00
</button>
</mat-card-actions>
2020-01-08 12:30:39 +09:00
</mat-card>