<?php $__env->startSection('title', "Izmeni {$subject->name}"); ?>

<?php $__env->startSection('content'); ?>
    <div class="container">
            <div class="h1 text-center">
                <?php echo e($subject->name); ?>

            </div>

            <div class="row justify-content-center">
                <div class="col-md-8 mt-5">
                    <form method="POST" action="<?php echo e(route('admin.subjects.update', $subject->id)); ?>">
                        <?php echo csrf_field(); ?>
                        <?php echo method_field('PATCH'); ?>

                        <?php echo $__env->make('admin.subjects.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' => 'Sačuvaj',
                            'cancelUrl' => route('admin.departments.show', $subject->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/subjects/edit.blade.php ENDPATH**/ ?>