<?php if(session()->has('admin_userid')): ?>
   
<?php else: ?> 
 <script>window.location.href="admin";</script>
<?php endif; ?>


<?php $__env->startSection('content'); ?>


<div class="container-fluid">
    <div class="row bg-title">
        <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
            <h4 class="page-title"><i class="fa fa-plus"></i>&nbsp; Edit Manage Parking location </h4> </div>
    </div>
        <?php
            $id = $_GET['locationid'];

            $get_details = DB::table('add_location')->where('locationid', $id)->get();
        ?>
    <div class="col-sm-12">
        <div class="white-box">
            <?php $__currentLoopData = $get_details; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $details): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <form action="update_location_submit" method="post">
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="location_name">Location Name</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="location_name" id="location_name" value="<?php echo e($details->location_name); ?>">
                            </div>
                        </div>
                        <input type="hidden" name="locationid" id="locationid" value="<?php echo e($details->locationid); ?>">
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="short_name">Short Name</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="short_name" id="short_name" value="<?php echo e($details->short_name); ?>">
                            </div>
                        </div>
                        <button type="submit" class="btn btn-primary" style="float: right; margin-right: 1%;
                        margin-top: 5%;">Update</button>
                    </div>
                </div>
            </form>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>

</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\wamp64\www\indigo-parking\resources\views/backend/edit-location.blade.php ENDPATH**/ ?>