{!! $user->name !!} |
{!! $user->email !!} |
@if($user->active == 1)
Active
@else
Inactive
@endif
|
{!! 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