<?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('cars.store')); ?>" method="POST" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="col-12">
                   <div class="row">
                     <div class="col-4">
                        <label>Category</label>
                        <select name="cartype_id" class="form-control" required>
                           <?php $__currentLoopData = $cartype; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                           <option value="<?php echo e($item->id); ?>"><?php echo e($item->name); ?></option>
                           <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                     </div>
                     <div class="col-4">
                        <label>Brand</label>
                        <select name="carmodel_id" class="form-control" required>
                           <?php $__currentLoopData = $carmodel; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                           <option value="<?php echo e($item->id); ?>"><?php echo e($item->name); ?></option>
                           <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </select>
                     </div>
                     <div class="col-md-4 form-group">
                        <label>Name</label>
                        <input type="text" class="form-control" id="" name="name" placeholder="Enter Name" required="">
                     </div>
                     <div class="col-md-4 form-group">
                         <label>Doors</label>
                         <input type="text" class="form-control" name="doors" placeholder="Enter Number of Doors" required="">

                      </div>
                      <div class="col-md-4 form-group">
                        <label>Luggages</label>
                        <input type="text" class="form-control" name="luggage" placeholder="Enter Number of Luggages" required="">

                     </div>
                     <div class="col-md-4 form-group">
                        <label>Seats</label>
                        <input type="text" class="form-control" name="person" placeholder="Enter Number of Seats" required="">
                     </div>
                     <div class="col-md-4 form-group">
                     <label>Navigation</label>
                     <select name="navigation" class="form-control" required>
                        <option value="1">Yes</option>
                        <option value="0">No</option>
                     </select>
                     </div>
                     <div class="col-md-4 form-group">
                        <label>Air Condition</label>
                        <select name="aircondition" class="form-control" required>
                           <option value="1">Yes</option>
                           <option value="0">No</option>
                        </select>
                        </div>
                     <div class="col-md-4 form-group">
                     <label>Fuel</label>
                     <select name="distance" class="form-control" required>
                        <option value="Petrol">Petrol</option>
                        <option value="Diesel">Diesel</option>
                        <option value="Hybrid">Hybrid</option>
                        <option value="Electric">Electric</option>
                        <option value="Hydrogen">Hydrogen</option>
                     </select>
                     </div>

                     <div class="col-md-4 form-group">
                     <label>Gear</label>
                     <select name="gear" class="form-control" required>
                        <option value="Automatic">Automatic</option>
                        <option value="Manual">Manual</option>
                     </select>
                     </div>

                      <div class="col-md-4 form-group">
                        <label>Year</label>
                         <input type="text" class="form-control" id="" name="year" required="" placeholder="Car Registration Year">
                      </div>
                      <div class="col-md-4 form-group">
                        <label>Daily Price</label>
                         <input type="number" class="form-control" id="" name="price" placeholder="Price Per Day" required="">
                      </div>
                      <div class="col-md-4 form-group">
                        <label>Weekly Price</label>
                         <input type="number" class="form-control" id="" name="fromyears" required="" placeholder="Price Per Week">
                      </div>

                      <div class="col-4">
                        <label>Status</label>
                        <select name="status" class="form-control" required>
                           <option value="1">Active</option>
                           <option value="0">Inctive</option>
                        </select>
                     </div>
                     <div class="col-4">
                        <div class="form-group">
                          <label for="exampleFormControlFile1">Upload Image</label>
                          <input type="file" class="form-control-file" id="exampleFormControlFile1" name="image[]" multiple>
                        </div>
                     </div>
                     <div class="col-md-12">
                        <div class="form-group">
                        <h4>Available Locations</h4>
                        </div>
                     </div>
                     <?php $__currentLoopData = $drop; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                     <div class="col-md-3">
                        <div class="form-group">
                        <input type="checkbox" value="<?php echo e($item->id); ?>" name="station_ids[]" checked> <?php echo e($item->name); ?>

                        </div>
                     </div>
                     <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                      <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/car/create.blade.php ENDPATH**/ ?>