Page

@if(auth()->user()->role == 'SA') Add Page @endif
{{-- --}} ` @foreach($page_data as $page) {{-- --}} @endforeach
S.No. TitleTypeAction
{{ $loop->iteration }} {{ $page->title }} {{ strtoupper($page->type ?? '') }}
@csrf @method('DELETE') Edit @if(auth()->user()->role == 'SA') @endif
@endsection