<div id="tmbhKel" class="modal fade" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <form action="{{ route('mahasiswa.kelompok.store') }}" method="POST">
                @csrf
            <div class="modal-header">
                <h5 class="modal-title" id="myModalLabel">Tambah Kelompok Baru</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body">

                    <div class="col-12">
                        <h5 class="font-size-16">Silahkan pilih dosen pembimbing : </h5>
                    <p>
                        <input type="hidden" name="periode" value="{{ $periode->where('status', 1)->first()->periode_id; }}" >
                        <select class="form-select" style="width: 100%" id="selectmodal" name="dosen">
                        <option selected>Pilih Dosen</option>
                            @foreach($dosen as $item)
                                <option value="{{ encrypt($item['id_sdm'].'_'.$item['nm_sdm'].'_'.$item['nidn']) }}">{{ $item['nm_sdm'].' - '.$item['prodi']}}</option>
                            @endforeach
                        </select>
                    </p>
                    </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-secondary waves-effect" data-bs-dismiss="modal">Close</button>
                <button type="submit" class="btn btn-primary waves-effect waves-light">Save changes</button>
            </div>
            </form>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>
