@extends('layouts.app')
@section('content')
@foreach ($admins as $admin)
Name
Email
User Level
@endforeach
{{ $admin->getFullName() }}
{{ $admin->email }}
{{ $admin->getUserLevel() }}
Edit
{{ Form::open([
'route' => [ 'admins.destroy', $admin->id ],
'method' => 'DELETE',
'class' => 'd-inline-block',
'onsubmit' => 'return confirm("Are you sure you want to delete this admin?")'
])
}}
{{ Form::close() }}