<div class="piece"
[matTooltip]="translate.instant('repeat_tooltip')"
matTooltipPosition="before" [matTooltipDisabled]="!tooltipService.activatedTooltips">
    <div class="piece-form">
        <div class="piece-form-header">
            <mat-icon fontIcon="refresh"></mat-icon>
            <div class="piece-form-header-for">
                <label>{{'repeat_title1' | translate}}</label>
                <input type="text" [(ngModel)]="task.repeat.iteration" (change)="editTrace($event,'repeat_nbTimes')"/>
                <label>{{'repeat_title2' | translate}}</label>
            </div>
        </div>
        <div class="piece-form-while">
            <label>{{'repeat_title3' | translate}}</label>
            <textarea [(ngModel)]="task.repeat.while" (change)="editTrace($event,'repeat_stopCondition')"></textarea>
        </div>    
    </div>
</div>