@extends('layouts.admin') @section('content-title') {{ __('users.Users managements') }} @endsection @section('content-breadcrumbs') @endsection @section('content')
@if(session()->has('success')) @endif @if(session()->has('deleted')) @endif @foreach($users as $user) @endforeach
# {{ __('users.Name') }} {{ __('users.Email') }} {{ __('users.Created at') }} {{ __('users.Roles') }}
{{ $user->id }} {{ $user->name }} {{ $user->email }} {{ $user->created_at }} @foreach($user->roles as $role)
{{ $role->name }}
@endforeach
{{ __('admin.Edit') }} {!!Form::open()->locale('admin')->post()->route('admin.user.delete')->attrs(['style'=>'display:inline'])!!} {!!Form::hidden('id')->value($user->id)!!} {!!Form::submit(__('Delete'))->color("danger")!!} {!!Form::close()!!}
{{ $users->links() }}
@endsection