@extends('layouts.admin_layout') @section('content')

Manage Users

@if(Session::has('success'))

×{{ Session::get('success') }}

@endif @if(Session::has('error'))

{{ Session::get('error') }}

@endif

Users List

Add
@php $i=1;@endphp @foreach($users as $user) @endforeach
# Name Email Role Action
{{$i++}} {{$user->name}} {{$user->email}} {{$user->roles[0]['name']}}
{{ method_field('DELETE') }}{{csrf_field()}}
@endsection