<?php $__env->startSection('title', 'Измени професора'); ?>

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

        </div>

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

                    <?php echo $__env->make('admin.teachers.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' => 'Сачувај',
                            'cancelUrl' => route('admin.teachers.index'),
                            'cancelCta' => 'Откажи',
                        ], \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 /home/akademij/public_html/anketa-vranje/resources/views/admin/teachers/edit.blade.php ENDPATH**/ ?>