<?php $__env->startSection('content'); ?>




<div class="card">
    <div class="header">
        <h2><?php echo e($pageTitle); ?></h2>

    </div>
    <div class="body">
        <h2 class="card-inside-title">Keterangan</h2>
        <form action="<?php echo e(route('dashboard.contact_store')); ?>" method="post">

            <?php echo e(csrf_field()); ?>

            <?php echo e(method_field('POST')); ?>

            <div class="row clearfix">
                <div class="col-sm-12">
                    <div class="form-group">
                        <div class="form-line">
                            <textarea rows="4" class="form-control no-resize" name="description"
                                placeholder="Please type what you want..."></textarea>
                        </div>
                    </div>
                </div>
            </div>



            <button type="submit" class="btn btn-primary m-t-15 waves-effect">SAVE</button>

        </form>
    </div>
</div>






<?php $__env->stopSection(); ?>
<?php $__env->startSection('customjs'); ?>

<script>
$(document).ready(function() {


    var oTable = $('#example').DataTable({

        processing: true,
        serverSide: true,
        ajax: {
            url: "<?php echo route('dashboard.dataPegawai'); ?>",
            type: 'GET',
            data: function(d) {
                // console.log(d);
                //   d.status_user = $('#status_user').val();
                //   d.banned_user = $('#banned_user').val();
                //   d.type_user = $('#type_user').val();


            }
        },
        order: [
            [0, 'desc']
        ],
        columns: [{
                data: 'nip',
                name: 'nip'
            },
            {
                data: 'name',
                name: 'name'
            },
            {
                data: 'email',
                name: 'email'
            },
            {
                data: 'no_handpone',
                name: 'no_handpone'
            },




        ],



    });
});


$(document).on('click', '.edit_folder', function() {

    // $('.edit_folder').on('click', function() {
    // console.log('asdasdas');

    var data = $(this).val();
    // console.log(data);
    // $('.code_edit').val(data['description_programm']);
    $.ajax({
        type: 'POST',
        data: {
            "_token": "<?php echo csrf_token(); ?>",
            "data": data
        },
        dataType: 'JSON',
        url: "<?php echo route('dashboard.look'); ?>",
        success: function(data) {
            // console.log(data);

            // $('#name').val(data['name']);
            // $('#description').val(data['description']);
            $('#id').val(data['id']);
            // $('.is_active').val(data['is_active']).change();
            // $('.class_id').val(data['id']);
        }
    });

});
</script>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app2', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/sety4218/public_html/sim_pt_setia_raya/resources/views/dashboard/mitradashboard/contact.blade.php ENDPATH**/ ?>