feat: Ajout d'un groupe de tâches
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</p>
|
||||
}
|
||||
|
||||
<button (click)="toggleForm()">
|
||||
<button (click)="toggleTaskForm()">
|
||||
Ajouter une tâche
|
||||
</button>
|
||||
|
||||
@@ -44,6 +44,18 @@
|
||||
{{ group.name_group }}
|
||||
</p>
|
||||
}
|
||||
|
||||
<button (click)="toggleGroupForm()">Ajouter un groupe</button>
|
||||
|
||||
|
||||
@if (showGroupForm){
|
||||
<form [formGroup]="newGroupForm" (ngSubmit)="submitGroup()">
|
||||
<label for="name-group">Nom </label>
|
||||
<input id="name-group" type="text" formControlName="name" />
|
||||
|
||||
<button type="submit" [disabled]="!newGroupForm.valid">Valider</button>
|
||||
</form>
|
||||
}
|
||||
</div>
|
||||
|
||||
<h2>
|
||||
|
||||
Reference in New Issue
Block a user