<form class="row g-3 auto-width genres" action="{{route('genres.store')}}" method="post" enctype='multipart/form-data'>
    @csrf
    <div class="col-md-12">
        <label for="validationCustomTitle" class="form-label">Category Name <span class="text-danger"><b>*</b></span></label>
        <input type="text" class="form-control" name="name" id="name" placeholder="Category(Genres)" 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">Description </label>
        <textarea name="description" id="description" class="form-control" placeholder="Description"></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>