<form class="row g-3 auto-width task_attachments" action="{{ route('task-attachments.store')}}" method="post" enctype='multipart/form-data'>
    @csrf

     {{-- upload file--}}
     <div>
        <label >Upload File</label>
     </div>
     <div class="col-md-12">
        <input type="file" class="form-control" id="uploaded_file" name="uploaded_file" aria-describedby="inputGroupPrepend" required >
        <span class="text-danger error_uploaded_file" style="display:none;">This field is required.</span>
    </div>
    <input type="hidden" name="task_id">
</form>
