php blade action if code example
Example: laravel if syntax
@if (foo)
// do something
@elseif (bar)
// do something else
@else
// do some other thing;
@endif
@if (foo)
// do something
@elseif (bar)
// do something else
@else
// do some other thing;
@endif