<div class="form-group">
    <label for="<?php echo e($name); ?>"><?php echo e($label); ?></label>
    <select class="form-control" id="<?php echo e($name); ?>" name="<?php echo e($name); ?>">
        <?php if($placeholder ?? false): ?>
            <option value="" disabled selected><?php echo e($placeholder); ?></option>
        <?php endif; ?>
        <?php $__currentLoopData = $options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value => $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <option value="<?php echo e($value); ?>" <?php if((old($name, $selected ?? false) == $value)): ?> selected <?php endif; ?>><?php echo e($option); ?></option>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </select>
    <?php if($errors->has($name)): ?> <label class="error-message" for="<?php echo e($name); ?>"><?php echo e($errors->first($name)); ?></label> <?php endif; ?>
</div><?php /**PATH /home/akademij/public_html/anketa-pirot/resources/views/layouts/fields/dropdown.blade.php ENDPATH**/ ?>