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

Joke Types

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