@foreach($users as $user) @endforeach
Name Email Registered Active
{!! $user->name !!} {!! $user->email !!} {!! show_date($user->created_at) !!} @if($user->state == PilotState::ACTIVE) @elseif($user->state == PilotState::PENDING) @else @endif {!! PilotState::label($user->state) !!} {!! Form::open(['route' => ['admin.users.destroy', $user->id], 'method' => 'delete']) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'btn btn-sm btn-danger btn-icon', 'onclick' => "return confirm('Are you sure?')"]) !!} {!! Form::close() !!}