@extends('admin.layouts.master-soyuz') @section('title',__('All Blog Post')) @section('body') @component('admin.component.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('All Blog Post') }} @endslot @slot('menu1') {{ __('Blog') }} @endslot @slot('button')
{{__("Add Blog")}}
@endslot @endcomponent
{{ __("All Blog Post") }}
@foreach($blogs as $key=> $slider) @endforeach
{{ __("ID") }} {{ __("Heading") }} {{ __("Description") }} {{ __("User") }} {{ __('Image') }} {{ __("Created at") }} {{ __("Status") }} {{ __("Action") }}
{{$i++}} {{$slider->heading}} {{substr(strip_tags($slider->des), 0, 50)}}{{strlen(strip_tags( $slider->des))>50 ? '...' : ""}} {{$slider->user}} {{$slider->created_at}} @can('blog.edit')
{{csrf_field()}} {{ $slider->status ==1 ? __('Active') : __('Deactive') }}
@endcan
@endsection