diff --git a/resources/views/admin/schools/show.blade.php b/resources/views/admin/schools/show.blade.php index 669d2f4..8f1b7e0 100644 --- a/resources/views/admin/schools/show.blade.php +++ b/resources/views/admin/schools/show.blade.php @@ -1,4 +1,15 @@ + @if($school->students()->count() === 0) + + + Confirm you would like to delete the school {{ $school->name }}. + This action cannot be undone. + + + @endif School: {{ $school->name }}
diff --git a/resources/views/admin/users/edit.blade.php b/resources/views/admin/users/edit.blade.php index c78ce44..c23987c 100644 --- a/resources/views/admin/users/edit.blade.php +++ b/resources/views/admin/users/edit.blade.php @@ -4,25 +4,29 @@ Edit User @if($user->id != Auth::user()->id) -
- @csrf - @method('DELETE') - - + + Confirm you would like to delete the user {{ $user->full_name() }} having + email {{ $user->email }}. + This action cannot be undone. + @endif
- - - - - + + + + + School @foreach ($schools as $school) - + @endforeach