@extends('admin.layouts.app') @section('content')
@foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg))

{{ Session::get('alert-' . $msg) }}

@endif @endforeach
Users

Add User

@if($user) @foreach($user as $val) @endforeach @else @endif
First Name Last name Email Phone Action
{{$val->first_name}} {{$val->last_name}} {{$val->email}} {{$val->phone}} Edit {{--{!! Form::open(['method' => 'DELETE', 'route' => ['admin-users.destroy', $val->id], 'onsubmit' => 'return confirmDelete()']) !!} {!! Form::close() !!}--}} @php $del_url = route('admin-users.destroy',$val->id); @endphp Delete
@endsection