

<?php $__env->startSection('content'); ?>
<style>
input.form-control.file-upload-info {
    padding: 3px;
    border: 0px;
}
</style>

        <div class="content-wrapper">
          <div class="row">
		  <div class="col-md-2">
		  </div>
            
            <div class="col-md-8 grid-margin stretch-card">
              <div class="card">
                <div class="card-body">
                  <h4 class="card-title">Add Category</h4>
                   <?php if(count($errors) > 0): ?>
                      <?php if($errors->any()): ?>
                        <div class="alert alert-primary" role="alert">
                          <?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; ?>
                  <form class="forms-sample" action="<?php echo e(route('InsertHomeCategory2')); ?>" method="post" enctype="multipart/form-data">
                      <?php echo e(csrf_field()); ?>

                    <div class="form-group">
                      <label for="exampleInputName1">Home Category Name</label>
                      <input type="text" class="form-control" id="exampleInputName1" name="category_name" placeholder="Enter Category Name" requirment>
                    </div>
                    <div class="form-group">
                      <label>Home Category Order</label>
                      <input type="text" name="category_order" class="form-control" placeholder="1 To 10" requirment>
                      <input type="hidden" name="cityadmin_id" value=<?php echo e($cityadmin-> cityadmin_id); ?>>
                    </div>
                    <div class="form-group">
                      <label>Display In homepage</label></label>
                      <input type="checkbox" name="category_status" value="1" ><br>
                    </div>
                    <button type="submit" class="btn btn-success mr-2">Submit</button>
                    <!--
                    <button class="btn btn-light">Cancel</button>
                    -->
                     <a href="<?php echo e(route('category')); ?>" class="btn btn-light">Cancel</a>
                  </form>
                </div>
              </div>
            </div>
             <div class="col-md-2">
		  </div>
     
          </div>
        </div>
        </div>
 <?php $__env->stopSection(); ?>
<?php echo $__env->make('cityadmin.layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>