@foreach ( $branches as $branch )
@if( strval( $branch->ID ) === strval( $branchID ) )
@php $class = empty( $branch->content ) ? 'missing-content' : ''; @endphp
{!!$forkLabel!!} {!!$branch->content!!}
{{trans('forms.lbl_edit')}}
@if( !empty( $branch->forks ) )
@foreach( $branch->forks as $forkID => $forkLabel )
@include('decisiontree::decision-trees.branches.branch', [
'branchID' => $forkID,
'forkLabel' => '' . $forkLabel . ':
'
])
@endforeach
@endif
@endif
@endforeach