
<!-- Edit -->
<div class="modal fade" id="detail{{$leave->id}}">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title"><b>Detail</b></h4>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <form class="form-horizontal" method="POST" action="{{ route('leave.details', $leave->id) }}">
                @csrf
                @method('PUT')
                <div class="modal-body">
                    <div class="form-group">
                        <label>Name</label>
                        <input type="text" class="form-control" name="nama" value="{{$leave->nama}}" required>
                    </div>
                    <div class="form-group">
                        <label>Keterangan</label>
                        <input type="text" class="form-control" name="keterangan" value="{{$leave->keterangan}}" required>
                    </div>
                    <div class="form-group">
                        <label>Jenis_Cuti</label>
                        <input type="text" class="form-control" name="jenis_cuti" value="{{$leave->jenis_cuti}}" required>
                    </div>
                    <div class="form-group">
                        <label>Status</label>
                        <input type="text" class="form-control" name="jenis_cuti" value="{{$leave->jenis_cuti}}" required>
                    </div>
                   
                </div>         
            </form>
        </div>
    </div>
</div>
