@extends('layouts.school') @section('title', 'Gallery') @section('header', 'Photo Gallery') @section('content')
@csrf
@forelse($albums as $album)
@if($album->cover_image) {{ $album->title }} @else @endif

{{ $album->title }}

{{ $album->images_count }} photos

Manage
@csrf @method('DELETE')
@empty
No albums yet. Create one above.
@endforelse
@endsection