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


<!-- begin::main content -->

<main class="main-content">

    <div class="container">

        <!-- begin::page header -->
        <div class="page-header">
            <h3>Import User CSV</h3>
            <nav aria-label="breadcrumb">
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="<?php echo e(asset('admin/dashboard')); ?>">Dashboard</a></li>                    
                    <li class="breadcrumb-item" aria-current="page"><a href="<?php echo e(asset('admin/users')); ?>">Users</a></li>                
                    <li class="breadcrumb-item active" aria-current="page">Import CSV</li>
                </ol>
            </nav>
        </div>
        <!-- end::page header -->

        <div class="row">
            <div class="col-md-6">
                <?php if (isset($component)) { $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\FlashMessage::class, []); ?>
<?php $component->withName('flashMessage'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74)): ?>
<?php $component = $__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74; ?>
<?php unset($__componentOriginal8a5ba9c90b64d384232e9948b1023e746ba08e74); ?>
<?php endif; ?>
                <div class="card">
                    <div class="card-body">
                        
                        <form action="<?php echo e(route('import')); ?>" method="post" enctype="multipart/form-data">
                            <?php echo csrf_field(); ?>
                            <div class="form-group">
                                <label for="file">CSV File</label>
                                <input type="file" class="form-control" name="file" value="<?php echo e(old('file')); ?>" id="file" placeholder="Enter User Name">
                               
                                <?php if($errors->has('file')): ?>
                                <div class="error">
                                    <?php echo e($errors->first('file')); ?>

                                </div>
                                <?php endif; ?>

                            </div>

                            <button type="submit" class="btn btn-primary">Upload</button>

                            <a class="btn btn-info text-white" target="_blank" href="<?php echo e(asset('/public/student.csv')); ?>"> <i class="fa fa-download"></i>&nbsp;Sample CSV</a>

                            <a href="<?php echo e(asset('admin/user-list')); ?>" class="btn btn-primary pull-right text-white"><i class="fa fa-list"></i>&nbsp;Student List</a>
                        </form>

                        
                    </div>
                </div>



            </div>
           
        </div>

    </div>

</main>
<!-- end::main content -->

<?php $__env->stopSection(); ?>
<?php $__env->startPush('footer-script'); ?>
    <!-- begin::select2 -->
      <!-- begin::select2 -->
<link rel="stylesheet" href="<?php echo e(asset('public/admin/vendors/select2/css/select2.min.css')); ?>" type="text/css">
      <!-- end::select2 -->
  
<script src="<?php echo e(asset('public/admin/vendors/select2/js/select2.min.js')); ?>"></script>
<script src="<?php echo e(asset('public/admin/js/examples/select2.js')); ?>"></script>
<!-- end::select2 -->
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\blurb_erp\resources\views/user/import-user.blade.php ENDPATH**/ ?>