
<?php $__env->startSection('styles'); ?>
<style>
    .control-label {
        text-align: right;
    }
</style>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!-- page start-->
<!-- Content Header (Page header) -->
<section class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <h1><?php echo e(__('Create Location')); ?></h1>
            </div>
            <div class="col-sm-6">
                <ol class="breadcrumb float-sm-right">
                    <li class="breadcrumb-item"><a href="#"><?php echo e(__('Home')); ?></a></li>
                    <li class="breadcrumb-item active"><?php echo e(__('Create Location')); ?></li>
                </ol>
            </div>
        </div>
    </div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-12">
                <div class="card">
                    <div class="card-header">
                        <h3 class="card-title"><?php echo e(__('Create Location')); ?></h3>
                        <span class="tools" style="float:right">
                            <a href="<?php echo e(route('location.index')); ?>" title="Back" class="btn btn-primary btn-sm"><i
                                    class="fa fa-reply"></i></a>
                        </span>
                    </div>
                    <!-- /.card-header -->
                    <div class="card-body">

                        <form id="area_add_form" autocomplete="off" role="form" enctype="multipart/form-data"
                            method="POST" action="<?php echo e(route('location.store')); ?>">
                            <?php echo csrf_field(); ?>
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group row <?php $__errorArgs = ['country_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> has-error <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                        <label for="country_name" class="col-sm-4 control-label"><?php echo e(__('Country Name')); ?> <span class="text-danger"><?php echo e(__('*')); ?></span></label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" name="country_name" id="country_name" placeholder="Country Name">
                                            <?php if($errors->has('country_name')): ?>
                                                <p class="text-danger"><?php echo e($errors->first('country_name')); ?></p>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group row <?php $__errorArgs = ['city_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> has-error <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                        <label for="city_name" class="col-sm-4 control-label"><?php echo e(__('City Name')); ?></label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" name="city_name" id="city_name" placeholder="City Name">
                                            <?php if($errors->has('city_name')): ?>
                                                <p class="text-danger"><?php echo e($errors->first('city_name')); ?></p>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group row <?php $__errorArgs = ['language'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> has-error <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                        <label for="status" class="control-label col-sm-4"><?php echo e(__('Language')); ?></label>                                
                                        <div class="col-sm-8">
                                        <?php echo Form::select('language', $language, null, ['class' => 'form-control m-bot15']); ?>

                                            <?php if($errors->has('language')): ?>
                                                <p class="text-danger"><?php echo e($errors->first('language')); ?></p>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group row <?php $__errorArgs = ['zone_code'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> has-error <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                        <label for="zone_code" class="col-sm-4 control-label"><?php echo e(__('Zone Code')); ?></label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" name="zone_code" id="zone_code" placeholder="Zone Code">
                                            <?php if($errors->has('zone_code')): ?>
                                                <p class="text-danger"><?php echo e($errors->first('zone_code')); ?></p>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <div class="form-group row <?php $__errorArgs = ['zone_name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> has-error <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
                                        <label for="zone_name" class="col-sm-4 control-label"><?php echo e(__('Zone Name')); ?></label>
                                        <div class="col-sm-8">
                                            <input type="text" class="form-control" name="zone_name" id="zone_name" placeholder="Zone Name">
                                            <?php if($errors->has('zone_name')): ?>
                                                <p class="text-danger"><?php echo e($errors->first('zone_name')); ?></p>
                                            <?php endif; ?>
                                        </div>
                                    </div>
                                </div>

                            </div>
                            <div class="form-group row" style="text-align:center;">
                                <div class="col-sm-12">
                                    <button type="submit" id="locationAddBtn" class="btn btn-primary"><?php echo e(__('Add Location')); ?></button>
                                    <a href="<?php echo e(route('location.index')); ?>" class="btn btn-warning"><?php echo e(__('Cancel')); ?></a>
                                </div>
                            </div>
                        </form>



                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<!-- page end-->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('scripts'); ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.layout-admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\extranet\resources\views/pages/admin/location/create.blade.php ENDPATH**/ ?>