<form class="g-3 row auto-width category" action="{{route('content-category.update',$Category->id)}}" method="POST" enctype='multipart/form-data'>
  <!-- For validation comment on -->
  @csrf
  @method('PUT')
  <div class="col-md-12 col-sm-12">
    <div class="g-3 row">
      <div class="col-md-12">
        <label>Name<span class="text-danger">*</span></label>
        <input type="text" class="form-control" placeholder="Category Name" aria-label="Category Name" name="name" value="{{$Category->name}}">
      </div>
      <div class="col-md-12">
        <label>Prority</label>
        <input type="text" class="form-control" placeholder="Prority" aria-label="priority_status" name="priority_status" value="{{$Category->priority_status}}">
      </div>
      <div class="col-md-12">
        <label>Image</label>
        <input type="file" class="form-control" placeholder="image" aria-label="image" name="image">
      </div>
      @if($Category->image)
      <div class="col-md-12">
      <img src="{{getTempUrl($Category->image)}}" style="width:50px;height:50px">
      </div>
      @endif
      <div class="col-md-12">
        <label>New Tag<span class="text-danger">*</span></label>
        <input type="radio" class="" name="new_tag" value="Yes" @if(isset($Category->new_tag) && $Category->new_tag=='Yes'){{'checked'}}@endif> Yes
        <input type="radio" class="" name="new_tag" value="No" @if(isset($Category->new_tag) && $Category->new_tag=='No'){{'checked'}}@endif> No
      </div>
    </div>
  </div>
  </div>
</form>