<?php $__env->startSection('content'); ?>
<div class="row">
  
<div class="col-md-3"></div>
		 <div class="col-md-6 grid-margin stretch-card">
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title"> Add Vendor Category</h4>
                  <!-- <p class="card-description">
                    Basic form elements
                  </p> -->
                  <form class="forms-sample" action="<?php echo e(route('addnewvendor')); ?>" method="post" enctype="multipart/form-data">
                    <?php echo e(csrf_field()); ?>

                     <?php if(count($errors) > 0): ?>
                    <?php if($errors->any()): ?>
                   <div class="alert alert-primary" role="alert">
                  <strong>SUCCESS : </strong><?php echo e($errors->first()); ?>

                  <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                  <span aria-hidden="true">×</span>
                  </button>
                  </div>
                  <?php endif; ?>
                 <?php endif; ?>
                     <div class="form-group">
                    <label for="exampleFormControlSelect3">Select UI</label>
                    <select class="form-control form-control-sm" id="exampleFormControlSelect3 " name="ui">
                      <?php $__currentLoopData = $ui; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $vendors): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
		          	<option value="<?php echo e($vendors->id); ?>"><?php echo e($vendors->ui_design); ?></option>
		              <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                      
                      
                    </select>
                    </div>
                    <div class="form-group">
                      <label for="exampleInputName1">Category Name</label>
                      <input type="text" class="form-control" name="vendor_category"  id="exampleInputName1" placeholder="Category Name">
                    </div>
                 <div class="form-group">
                      <label>City Image</label>
                      <div class="input-group col-xs-12">
                        <input type="file" name="city_image" class="file-upload-default">
                      </div>
                    </div>
                   
                    <button type="submit" class="btn btn-success mr-2">Add</button>
                   <!--  <button class="btn btn-light">Cancel</button> -->
                  </form>
                </div>
              </div>
            </div>
  <div class="col-md-3"></div>

</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>