17 lines
640 B
HTML
17 lines
640 B
HTML
<h2>Création d'une task-list</h2>
|
|
<form [formGroup]="addTaskListFormGroup" (submit)="onSubmit()" ngNativeValidate>
|
|
<p>
|
|
<mat-form-field>
|
|
<mat-label>Nom de la liste</mat-label>
|
|
<input matInput autofocus id="task-name-input" name="task-name-input" formControlName="name" />
|
|
<mat-error *ngIf="form.name.invalid">
|
|
Veuillez saisir le nom de la task-list.
|
|
</mat-error>
|
|
</mat-form-field>
|
|
</p>
|
|
<div class="dialog-actions">
|
|
<button class="stroked primary" type="button" (click)="close()">Annuler</button>
|
|
<button class="stroked primary" type="submit">Créer une liste</button>
|
|
</div>
|
|
</form>
|