@extends('layouts.backend.master') @section('content')
| Title | Desc | Author | Category | Tags | Published | Action |
|---|---|---|---|---|---|---|
| {{ $post->title }} | {{ str_limit($post->description, 60) }} | {{ $post->user->name }} | {{ $post->category->name }} | {{ $post->tags->implode('name', ', ') }} | {{ $post->published }} | @if (Auth::user()->is_admin) @php if($post->published == 'Yes') { $label = 'Draft'; } else { $label = 'Publish'; } @endphp slug}/publish") }}" data-method="PUT" data-token="{{ csrf_token() }}" data-confirm="Are you sure?" class="btn btn-xs btn-warning">{{ $label }} @endif slug}") }}" class="btn btn-xs btn-success">Show slug}/edit") }}" class="btn btn-xs btn-info">Edit slug}") }}" data-method="DELETE" data-token="{{ csrf_token() }}" data-confirm="Are you sure?" class="btn btn-xs btn-danger">Delete |
| No post available. | ||||||