@extends('starter-kit::layouts.adminlayout') @section('page_title') {{__("Comments")}} - @endsection @section('content')
@include('starter-kit::component.err')
{{__("Filter")}}: {{__("All")}} {{__("Pending")}} {{__("Approved")}} {{__("Reject")}}
@csrf @foreach ($comments as $c) @endforeach
# {{__("name / email")}} {{__("body")}} {{__("Status")}} {{__("Action")}}
{{$c->id}} {{$c->name}}
{{$c->email}}
{{$c->ip}}
{{$c->body}}
@switch($c->status) @case('1') @break @case('-1') @break @default @endswitch
@include('starter-kit::component.bulk',['actions' =>['approve' => __("Approve"),'reject' => __("Reject"),"pending"=>__("Pending")]])
{{$comments->links()}}
@endsection