@extends('dashboard::layouts.app') @section('title')
Album
@endsection @section('content')

Add New Album

@csrf
@error('name') {{ $message }} @enderror
@error('main_image') {{ $message }} @enderror

Album List

@if (count($albums) > 0) @foreach ($albums as $album) @endforeach @else @endif
ID Album Name View Images Actions
{{ $albums->firstItem() + $loop->index }} {{ $album->name }}
@csrf
No Album Found
{{ $albums->appends(Request::except('page'))->links('pagination::bootstrap-4') }}
@endsection