<?php $__currentLoopData = $subjects; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subject): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

    
    <div class="row">
        <div class="col text-center h3">
            <?php echo e($subject->name); ?>

        </div>
        <?php if($subject->block_id > 0): ?>
        <p class="p-2" style="background-color:darkgreen; color:white; font-size: 10px; border-radius: 5px;">
            Предмет изборног блока <?php echo e($subject->block_id); ?>

        </p>
        <?php endif; ?>
    </div>
    <div class="row mt-4">
        <div class="col-md-4 h4 align-middle" style="line-height:2em;">
            <?php echo e($subject->teacher->name); ?>

        </div>
        <div class="col-md-8">
            <?php echo $__env->make('survey.partials.mark_radios', [
                'name' => "subject-{$subject->id}-teacher-{$subject->teacher_id}",
                'checked' => $answers->get($subject->id)[$subject->teacher_id] ?? null,
            ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>

    <?php if($subject->teacher_alt): ?>
    <div class="row mt-3">
        <div class="col-md-4 h4">
            <?php echo e($subject->teacher_alt->name); ?>

        </div>
        <div class="col-md-8">
            <?php echo $__env->make('survey.partials.mark_radios', [
                'name' => "subject-{$subject->id}-teacher_alt-{$subject->teacher_alt_id}",
                'checked' => $answers->get($subject->id)[$subject->teacher_alt_id] ?? null,
            ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        </div>
    </div>
<?php endif; ?>


    <?php if($subject->assistant): ?>
        <div class="row mt-3">
            <div class="col-md-4 h4">
                <?php echo e($subject->assistant->name); ?>

            </div>
            <div class="col-md-8">
                <?php echo $__env->make('survey.partials.mark_radios', [
                    'name' => "subject-{$subject->id}-assistant-{$subject->assistant_id}",
                    'checked' => $answers->get($subject->id)[$subject->assistant_id] ?? null,
                ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            </div>
        </div>
    <?php endif; ?>
    <hr>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php /**PATH /home/akademij/public_html/anketaon/resources/views/survey/partials/teacher_question_fields.blade.php ENDPATH**/ ?>