@if($context_key == 'type') @switch($context_value) @case(1) @break @case(2) @break @default @endswitch @endif