@extends('backend.layouts.master') @section('title', 'Joke Category List') @section('styles') @endsection @section('scripts') @endsection @section('content')

Joke Categories

Create Category
{{ csrf_field() }}
{{ $errors->first('name') }}
Category Table
@foreach($categories as $category) @endforeach
ID Name Slug Joke Count Created Last Updated Actions
{{ $category->id }} {{ $category->name }} {{ $category->slug }} {{ $category->jokes_count }} {{ $category->created_at->diffForHumans() }} {{ $category->updated_at->diffForHumans() }}
{!! csrf_field() !!} {!! method_field('delete') !!}
@endsection