blade if

116

use if in laravel blade -

@if($user->status =='active')         
      <td>{{ $user->name }}</td>         
@else
      <td> Guest </td>        
@endif

Comments

Submit
0 Comments