<form class="row g-3 auto-width project_budget" action="{{ route('project-budget.store')}}" method="post" enctype='multipart/form-data'>
    @csrf
    {{-- <div class="col-md-12">
        <div>
            <label for="projects_id" class="form-label">Projects <span class="text-danger"><b>*</b></span></label>
        </div>
        <div class="input-group">
            <select class="single-select form-control" name="projects_id">
                <option value="">--Select Project --</option>
                @foreach($project as $list)
                <option value="{{ $list->id }}">{{ $list->title }}</option>
                @endforeach
            </select>
        </div>
        <span class="text-danger error_projects_id" style="display: none;">This field is required.</span>
    </div> --}}
    <div class="col-md-12">
        <div>
            <label for="budget_type_id" class="form-label">Budget Type <span class="text-danger"><b>*</b></span></label>
        </div>
        <div class="input-group">
            <select class="single-select form-control" name="budget_type_id">
                 <option value="">--Select Budget Type --</option>
                @foreach($budgetType as $list)
                <option value="{{ $list->id }}">{{ $list->name }}</option>
                @endforeach
            </select>
        </div>
        <span class="text-danger error_budget_type_id" style="display: none;">This field is required.</span>
    </div>
     {{-- Amount --}}
     <div class="col-md-12">
        <label for="amount" class="form-label">Amount </label>
        <input type="text" class="form-control" id="amount" name="amount" aria-describedby="inputGroupPrepend" required placeholder="Enter Amount">
        <span class="text-danger error_amount" style="display:none;">This field is required.</span>
    </div>
    <input type="hidden" name="projects_id">
</form>
