@extends('layouts.admin') @section('content')

Admin Module

Gallery Albums

Manage gallery albums records from the database.

New Gallery Album
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
Please check the highlighted fields and try again.
@endif
@forelse ($records as $record) @empty @endforelse
Title Status Sort Order Actions
@php $valueEn = $record->title_en ?: '-'; $valueAs = $record->title_as ?: $valueEn; @endphp {{ str($valueEn)->limit(80) }} @php $statusEn = str($record->status ?? '-')->replace('_', ' ')->title()->toString(); $statusAs = $selectOptionLabelsAs[$record->status ?? ''] ?? $statusEn; @endphp {{ $statusEn }} {{ str($record->sort_order ?? '-')->limit(80) }}
{{-- --}} Add Images @if ($isProtectedAlbum($record)) @else
@csrf @method('DELETE')
@endif
No gallery albums found.
{{ $records->links() }}
@endsection