<?php $__env->startSection('title', 'Измени питање'); ?>

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

        </div>

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

                    <?php echo $__env->make('admin.questions.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.questions.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/vtsnised/public_html/anketa2.0/resources/views/admin/questions/edit.blade.php ENDPATH**/ ?>