<?php $__env->startSection('title', 'Tambah Mahasiswa'); ?>

<?php $__env->startSection('content'); ?>
<div class="card">
    <div class="card-header"><h3 class="card-title">Form Mahasiswa</h3></div>
    <div class="card-body">
        <form action="<?php echo e(route('mahasiswa.store')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">NIM</label>
                <div class="col-sm-10"><input type="text" name="nim" class="form-control" required></div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Nama</label>
                <div class="col-sm-10"><input type="text" name="nama" class="form-control" required></div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Bagian</label>
                <div class="col-sm-10">
                    <select name="bagian" class="form-control" required>
                        <option value="Hukum Pidana">Hukum Pidana</option>
                        <option value="Hukum Tata Negara">Hukum Tata Negara</option>
                        <option value="Hukum Perdata">Hukum Perdata</option>
                    </select>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Jurusan</label>
                <div class="col-sm-10"><input type="text" name="jurusan" class="form-control" value="Ilmu Hukum" required></div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Jenjang Program</label>
                <div class="col-sm-10">
                    <select name="jenjang_program" class="form-control" required>
                        <option value="S1">S1</option>
                        <option value="S2">S2</option>
                        <option value="S3">S3</option>
                    </select>
                </div>
            </div>
            <div class="form-group row">
                <label class="col-sm-2 col-form-label">Alamat</label>
                <div class="col-sm-10"><textarea name="alamat" class="form-control" required></textarea></div>
            </div>
            <button type="submit" class="btn btn-primary">Simpan</button>
            <a href="<?php echo e(route('mahasiswa.index')); ?>" class="btn btn-secondary">Batal</a>
        </form>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /opt/lampp/htdocs/skripsifh/resources/views/mahasiswa/create.blade.php ENDPATH**/ ?>