@extends('backend.layouts.app') @section('title') {{ __($module_action) }} {{ __($module_title) }} @endsection @section('breadcrumbs') {{ __($module_title) }} {{ __($module_action) }} @endsection @section('content')
{{ __($module_title) }} {{ __($module_action) }} {{-- @lang(":module_name Management Dashboard", ['module_name'=>Str::title($module_name)]) --}} List @can('edit_'.$module_name) @endcan
@include('backend.includes.show')

Posts
    @forelse($posts as $row) @php switch ($row->status) { case 0: // Unpublished $text_class = 'text-danger'; break; case 1: // Published $text_class = 'text-success'; break; case 2: // Draft $text_class = 'text-warning'; break; default: // Default $text_class = 'text-primary'; break; } @endphp
  • {{$row->name}}
  • @empty

    No post found.

    @endforelse
{{$posts->links()}}
@endsection