Guest User

Untitled

a guest
Sep 15th, 2018
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <ul>
  2.     @foreach ($users as $id => $user)
  3.         <li class="row @if($id == 0) first @endif @if(count($users) == $id +1) last @endif" >{{ $user->username }}</li>
  4.     @endforeach
  5. </ul>
Advertisement
Add Comment
Please, Sign In to add comment