<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Anketa</div>

                <div class="card-body">
                    <div class="text-center">
                        <div class="h3">Smer</div>
                        <?php echo e($department->name); ?>

                        <div class="h3 mt-4">Semestar</div>
                        <?php echo e(Auth::user()->semester); ?>

                    </div>

                    <div class="d-flex justify-content-center mt-5">
                        <form method="POST" action="<?php echo e(route('survey.index')); ?>">
                            <?php echo csrf_field(); ?>
                            <button class="btn btn-success mr-2" type="submit">Popuni anketu</button>
                        </form>

                        <form method="POST" action="<?php echo e(route('logout')); ?>">
                            <?php echo csrf_field(); ?>
                            <button class="btn btn-danger" type="submit">Odustani</button>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/misakovic1/Projekti/anketa/resources/views/home.blade.php ENDPATH**/ ?>