<form class="g-3 row auto-width" action="{{route('editors.update',$editor->id)}}" method="POST" enctype='multipart/form-data'>
  <!-- For validation comment on -->
  @csrf
  @method('PUT')


  <div class="col-md-12">
    <label for="fname" class="form-label">Editor Name <span class="text-danger"><b>*</b></span></label>
    <div class="input-group has-validation"> <span class="input-group-text" id="inputGroupPrepend"><i class="bi bi-people"></i></span>
      <input type="text" class="form-control" name="editor_name" id="fname" placeholder="Editor Name" value="{{$editor->editor_name}}" required="">
      @if ($errors->has('editor_name'))
      <span class="text-danger">{{ $errors->first('editor_name') }}</span>
      @endif
    </div>
  </div>
</form>