@extends('admin.layouts.master') @section('title', 'Edit Blog - Admin') @section('maincontent') @component('components.breadcumb',['fourthactive' => 'active']) @slot('heading') {{ __('Update Blog') }} @endslot @slot('menu1') {{ __('Update Blog') }} @endslot @slot('button')
{{ __("Back")}}
@endslot @endcomponent
@if ($errors->any())
@foreach($errors->all() as $error)
{{ $error}}
×
@endforeach
@endif
{{ __('adminstaticword.UpdateBlog') }}
{{ csrf_field() }} {{ method_field('PUT') }}
{{ __('adminstaticword.Heading') }} :
*
@error('heading')
{{ $message }}
@enderror
{{ __('adminstaticword.Slug') }} :
*
@error('slug')
{{ $message }}
@enderror
{{ __('adminstaticword.ButtonText') }} :
*
@error('text')
{{ $message }}
@enderror
{{ __('adminstaticword.Date') }} :
*
@error('date')
{{ $message }}
@enderror
{{ __('adminstaticword.Detail') }}:
*
{{ $show->detail }}
@error('detail')
{{ $message }}
@enderror
@if(Auth::user()->role == 'instructor')
{{ __('adminstaticword.Image') }}:
*
{{ __('Upload') }}
{{ __('Choose file') }}
@endif @if(Auth::user()->role == 'admin')
{{ __('Image') }}
*
{{ __('Browse') }}
({{ __('Choose Image for blog post') }})
@endif @if(Auth::user()->role == 'admin')
{{ __('adminstaticword.Approved') }}:
*
approved == '1' ? 'checked' : '' }} />
{{ __('adminstaticword.Status') }} :
status == '1' ? 'checked' : '' }} />
@endif
{{ __("Reset")}}
{{ __("Update")}}
@endsection @section('script') @endsection