How can I use switch in blade templates? When I used:
@switch($login_error) @case(1) `E-mail` input is empty! @break @case(2) `Pa
In Laravel 5.1, this works in a Blade:
disposal ) { case 'DISPO': echo 'Send to Property Disposition'; break; case 'UNIT': echo 'Send to Unit'; break; case 'CASCADE': echo 'Cascade the machine'; break; case 'TBD': echo 'To Be Determined (TBD)'; break; } ?>