<form class="row g-3 auto-width edit_pipeline_stages" id="edit_pipeline_stages_form" enctype='multipart/form-data' action="{{route('pipeline-stages-account-update' , $pipeline_stages->id) }}">
    @csrf
    @method('POST')
    <div class="col-md-12">
        <label for="sequence" class="form-label">Task Group <span class="text-danger"><b>*</b></span></label>
        <div class="input-group">
            <select class="single-select form-control" name="task_group_id">
                @foreach ($task_groups as $list)
                <option value="">Select Task Groups</option>
                <option value="{{ $list->id }}"  {!! @$pipeline_stages->task_group_id == $list->id ? 'selected' : '' !!}>
                    {{ $list->name }}
                </option>
                @endforeach
            </select>
        </div>
    </div>

    <div class="col-md-12">
        <div>
            <label for="name" class="form-label">Pipeline Stage Name <span class="text-danger"><b>*</b></span></label>
            <input type="text" class="form-control" id="name" name="name" value="{{$pipeline_stages->name}}">
            <input type="hidden" class="form-control" id="pipeline_stages_id" name="pipeline_stages_id" value="{{$pipeline_stages->id}}">
        </div>
    </div>

    <div class="col-md-12">
        <label for="sequence" class="form-label">Sequence <span class="text-danger"><b>*</b></span></label>
        <input type="number" name="sequence" class="form-control" value="{{$pipeline_stages->sequence}}">
    </div>
</form>
