<form class="row g-3 auto-width author" action="{{route('authors.store')}}" method="post" enctype='multipart/form-data'>
    @csrf
    <div class="col-md-12">
        <label for="validationCustomTitle" class="form-label">Full Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" name="first_name" id="fname" placeholder="Full Name" required="">
        @if ($errors->has('title'))
        <span class="text-danger">{{ $errors->first('title') }}</span>
        @endif
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="validationCustomTitle" class="form-label">Profile Image</label>
        <input type="file" class="form-control" name="authors_prfile_picture" id="lname" placeholder="Last Name" >
        @if ($errors->has('title'))
        <span class="text-danger">{{ $errors->first('title') }}</span>
        @endif
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
    </div>
    <div class="col-md-12">
        <label for="validationCustomTitle" class="form-label">Description</label>
        <textarea class="form-control" name="descriptions"></textarea>
        @if ($errors->has('title'))
        <span class="text-danger">{{ $errors->first('title') }}</span>
        @endif
        <span class="text-danger error_name" style="display: none;">This field is required.</span>
    </div>
</form>