@extends('admin.layout.app') @section('content') Blog Management Blog Management @include('admin.layout.session') Edit Blog Delete @method('delete') @csrf @csrf @method('put') Blog Category --Select Blog Category-- @forelse($blog_categories as $key => $value) id == $blog->blog_category_id ? 'selected' : ''}}>{{$value->name}} @empty No Category @endforelse @if ($errors->has('blog_category_id')) {{ $errors->first('blog_category_id') }} @endif Title @if ($errors->has('title')) {{ $errors->first('title') }} @endif Description {!!$blog->description!!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif Image Accepted formats: png, jpg, jpeg. Max file size 5Mb @if ($errors->has('image')) {{ $errors->first('image') }} @endif @if($blog->image != '') @endif Submit Back @endsection @push('js') @endpush