<?php $__env->startSection('title', 'Generiši kodove'); ?>

<?php $__env->startSection('content'); ?>
    <div class="container">
        <div class="h1 text-center">
            Generiši kodove
        </div>

        <div class="row justify-content-center">
            <div class="col-md-8 mt-5">
                <form method="POST"action="<?php echo e(route('admin.departments.codes.store', $department->id)); ?>">
                    <?php echo csrf_field(); ?>

                    <?php echo $__env->make('admin.codes.partials.fields', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                    <div class="d-flex justify-content-center">
                        <?php echo $__env->make('admin.partials.form_actions', [
                            'submitCta' => 'Generiši',
                            'cancelUrl' => route('admin.departments.codes.index', $department->id),
                            'cancelCta' => 'Otkaži',
                        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                    </div>
                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/misakovic1/Projekti/anketa/resources/views/admin/codes/create.blade.php ENDPATH**/ ?>