@if (($attributes = $attributes->where('attribute_set_id', $set->id)) && $attributes->isNotEmpty()) @endif