@if (userTrip) {
    <div class="spt-container">
        <div class="spt-headline d-flex justify-content-between align-items-start">
            <h2>{{ ('basic.edit') | translate }} {{ 'model.user_trip' | translate }}
                {{ userTrip.trip?.pilotageReference }} ({{ userTrip.user?.fullName }})</h2>
        </div>
    </div>
    <mat-tab-group>
        <mat-tab label="{{ 'model.user_trip' | translate }}">
            <app-user-trip-form
                [data]="userTrip"
                [mode]="FormMode.Edit"
                [id]="appHelperService.extractId(userTrip.id!)"
                (submit)="onFormUpdate($event)"
            >
            </app-user-trip-form>
        </mat-tab>
        <mat-tab label="{{ 'user_trip.events' | translate }}">

        </mat-tab>
    </mat-tab-group>
}
