@extends('admin.layouts.master') @section('title', 'Edit Blog Post') @section('maincontent') @include('admin.layouts.topbar',$data)
@if ($errors->any()) @endif
{{ __('Edit Blog Post') }}
{{ csrf_field() }} {{ method_field('PUT') }}
@error('heading') {{ $message }} @enderror
@error('slug') {{ $message }} @enderror
@error('text') {{ $message }} @enderror
@error('date') {{ $message }} @enderror
@error('detail') {{ $message }} @enderror
@if(Auth::user()->role == 'instructor')

{{ __('Upload') }}
@endif @if(Auth::user()->role == 'admin')
{{ __('Browse') }}
({{ __('Choose Image for blog post') }})
@endif @if(Auth::user()->role == 'admin')

approved == '1' ? 'checked' : '' }} />

status == '1' ? 'checked' : '' }} />
@endif


@endsection @section('script') @endsection