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

Drivers

@if(Session::has('message')) @endif @if($i=1)@endif @foreach ($drivers as $driver) @if($i++)@endif @endforeach
Sl.No Driver ID Name Email Password Status Action
{{$i}} {{$driver->uid }} {{$driver->name }} {{$driver->email }} {{$driver->password }} @if ($driver->is_activated == 1) Active @elseif ($driver->is_activated == 0) Pending @else Blocked @endif
{!! Form::open(array('method'=> 'DELETE', 'route' => array('admindriverdestroy', $driver->id))) !!} {!! Form::close() !!}
@endsection