coinwind/storage/framework/views/048e9e3473ad3b94cc0cbeb84d1...

20 lines
1.3 KiB
PHP

<div class="<?php echo e($viewClass['form-group']); ?> <?php echo !$errors->has($errorKey) ? '' : 'has-error'; ?>">
<label for="<?php echo e($id); ?>" class="<?php echo e($viewClass['label']); ?> control-label"><?php echo e($label); ?></label>
<div class="<?php echo e($viewClass['field']); ?>">
<?php echo $__env->make('admin::form.error', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<select class="form-control <?php echo e($class); ?>" style="width: 100%;" name="<?php echo e($name); ?>[]" multiple="multiple" data-placeholder="<?php echo e($placeholder); ?>" <?php echo $attributes; ?> >
<?php $__currentLoopData = $options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $select => $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($select); ?>" <?php echo e(in_array($select, (array)old($column, $value)) ?'selected':''); ?>><?php echo e($option); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
<input type="hidden" name="<?php echo e($name); ?>[]" />
<?php echo $__env->make('admin::form.help-block', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div>
</div>