<h6 class="m-0 font-weight-bold text-primary pull-left">Title</h6>
<hr>

<div class="input-group" style="margin-top: 15px;">
    <input type="text" name="title"
        value="{{ old('title', isset($blog->title) ? $blog->title : '') }}"
        class="form-control @error('title') is-invalid @enderror" placeholder="...">
    @error('title')
        <span class="alert-danger">{{ $message }}</span>
    @enderror
</div>
<br>

<h6 class="m-0 font-weight-bold text-primary pull-left">Description</h6>
<hr>

<div class="input-group" style="margin-top: 15px;">
    <textarea name="description" id="editor" cols="30" rows="10">{{ old('description', isset($blog->description) ? $blog->description : '') }}</textarea>
    @error('description')
        <span class="alert-danger">{{ $message }}</span>
    @enderror
</div>
<br>


<h6 class="m-0 font-weight-bold text-primary pull-left">Image</h6>
<hr>

<div class="input-group" style="margin-top: 15px;">
    <input type="file" name="image" class="form-control @error('image') is-invalid @enderror">
    <input type="hidden" name="old_image" value="{{ old('image', isset($blog->image) ? $blog->image : '') }}"
        id="">
    <input type="hidden" name="" id="">
    @error('image')
        <span class="alert-danger">{{ $message }}</span>
    @enderror
</div>
<br>