@extends('backend.layouts.app') @section('breadcrumb') @endsection @section('content')
{{ __('Album Details') }}
@if ($media = $album->getFirstMedia(Constant::THUMB_COLLECTION))
{{ $media->img()->conversion(Constant::THUMB)->attributes(['alt' => $album->name, 'class' => 'img-thumbnail']) }}
@endif
Id: {{ $album->id }}
Name: {{ $album->name }}
Order: {{ $album->ord }}
Status: {!! $album->status !!}
CreatedAt: {!! $album->created_at !!}
UpdatedAt: {!! $album->updated_at !!}
@if ($album->description)
{!! $album->description !!}
@endif {!! Form::open(['route' => ['admin.albums.destroy', 'album' => $album], 'id' => 'deleteForm', 'method' => 'DELETE']) !!} {!! Form::close() !!}
Back @can('album.edit') Edit @endcan @can('album.delete') Delete @endcan
@endsection