@section('optional_css') @endsection @section('optional_js') @endsection

{{ __('Gallery') }}

@if(session('success')) {{ session('success') }} @endif @if(session('delete')) {{ session('delete') }} @endif {{ __('Gallery') }} @can('gallery.create') {{ __('Create') }} {{ __('Gallery') }} @endcan
@forelse($galleries as $gallery) @empty @endforelse
{{ __('Title') }} {{ __('Image') }} {{ __('Type') }} {{ __('Link') }} {{ __('Status') }} {{ __('Action') }}
{{ $gallery->title }} {{ $gallery->type }} {{ $gallery->link }} {{ $gallery->publish?'Publish':'Draft' }} @can('gallery.edit') {{ __('Edit') }} @endcan @can('gallery.destroy')
@csrf @method('delete') {{ __('Delete') }}
@endcan
{{ __('Empty') }}
{{ $galleries->links('vendor.pagination.bootstrap-4') }}