@extends('admin.layouts.master') @section('title', 'Blog Post') @section('maincontent') @include('admin.layouts.topbar',$data)
{{ $error}}
@endforeach# | {{ __('Image') }} | {{ __('User') }} | {{ __('Heading') }} | @if(Auth::user()->role == 'admin'){{ __('Approved') }} | {{ __('Status') }} | @endif{{ __('Action') }} | @foreach($items as $item)
---|---|---|---|---|---|---|
1 {{ __('Are You Sure') }} ?{{ __('Do you really want to delete selected item ? This process cannot be undone') }}. |
@if($image = @file_get_contents('../public/images/blog/'.$item->image)) @endif | {{$item->user->fname}} | {{$item->heading}} | @if(Auth::user()->role == 'admin')@endif |
@can('blogs.edit')
{{ __('Edit') }}
@endcan
@can('blogs.delete')
{{ __("Delete") }}
@endcan
{{ __('Delete') }}{{ __('Are You Sure ?')}}{{ __('Do you really want to delete')}} {{$item->heading}} ? {{ __('This process cannot be undone.')}} |