@extends('backend.layouts.master') @section('title') Galleries @endsection @section('main-content') @include('backend.layouts.notification')
Albums
@if(count($albums)>0) @foreach($albums as $album) @endforeach
ID Title Description Photo Status Action
{{$album->id}} {{$album->title}} {!! $album->description !!} {{ $album->profile }} {{-- @if($album->photo != null) @forelse($album->photo as $photo) {{ $photo }} @empty avatar.png @endforelse @else avatar.png @endif --}} @if($album->status=='active') {{$album->status}} @else {{$album->status}} @endif
@csrf @method('delete')
{{$albums->links()}} @else
No albums found!!! Please create album
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush