@if(filled($user->country))
@endif
{!! $user->name !!}
|
{!! $user->email !!} |
{!! show_date($user->created_at) !!} |
@if($user->state === UserState::ACTIVE)
@elseif($user->state === UserState::PENDING)
@else
@endif
{!! UserState::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() !!}
|
@endforeach