<?php $__env->startSection('content'); ?>
	<!-- Content Header (Page header) -->
	<section class="content-header">
		<h1>
			تجهيز الشغل
			<small>
				للمحافظات
			</small>
		</h1>
	</section>
	<!-- Main content -->
	<form action="<?php echo e(route('shipments.prepare')); ?>" method="post">
		<?php echo e(csrf_field()); ?>

        <section class="content">
            <div class="box box-primary">
                <div class="box-body">
                    <div class="row">
                        <div class="form-group col-md-12">
                            <label>إختر المحافظات</label>
                            <select name="region_list[]" required multiple class="form-control select2" style="width: 100%;">
                                <option disabled value="">إختر المحافظة</option>
                                <?php $__currentLoopData = \App\Region::get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $region): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($region->id); ?>"><?php echo e($region->name); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        </div>
                    </div>
                </div>
                <div class="box-footer">
                    <button type="submit" class="btn btn-primary "><i class="fa fa-save"></i> <?php echo app('translator')->getFromJson('front.save'); ?> </button>
                </div>
            </div>
        </section>
	</form>
<?php $__env->stopSection(); ?>
<?php $__env->startPush('js'); ?>
    <script>
        $(".select2").select2();
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>