Filter
@foreach ($parameters as $paramter)
@if ($paramter->type == 'select') @if (isset($children[$paramter->id])) @foreach ($children[$paramter->id] as $child) @endforeach @endif @elseif($paramter->type == 'date') @else @endif
@endforeach