<?php if (isset($component)) { $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\AppLayout::class, []); ?>
<?php $component->withName('app-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
    <?php echo $__env->make('admin.include.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <!-- Page Content  -->
    <div class="wrapper">
       <!-- Sidebar  -->
       <!-- Page Content  -->
       <div id="content">
          
          <div class="navbar-expand-lg navbar-light bg-light">
             <form action="<?php echo e(route('carsmodel.update',$location->id)); ?>" method="POST" enctype="multipart/form-data">
                <?php echo method_field('PATCH'); ?>
                <?php echo csrf_field(); ?>
                <div class="col-12">
                  <div class="row">
                    <div class="col-md-6 form-group">
                       <label>Name</label>
                       <input type="text" class="form-control" value="<?php echo e($location->name); ?>" name="name">
                    </div>
                    <div class="col-6">
                       <label>Status</label>
                       <select name="status" class="form-control" required>
                        <option value="1" <?php echo e($location->status == 1 ? 'selected':''); ?>>Active</option>
                        <option value="0" <?php echo e($location->status == 0 ? 'selected':''); ?>>Inactive</option>
                     </select>
                    </div>
                     <div class="col-md-12">
                        <input type="submit" class="btn btn-success" value="submit">
                     </div>
                  </div>
               </div>
             </form>
          </div>
       </div>
    </div>
   <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da)): ?>
<?php $component = $__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da; ?>
<?php unset($__componentOriginal8e2ce59650f81721f93fef32250174d77c3531da); ?>
<?php endif; ?><?php /**PATH /Applications/MAMP/htdocs/carhire/resources/views/admin/carsmodel/edit.blade.php ENDPATH**/ ?>