

<?php $__env->startSection('content'); ?>
        <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">Update Item</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('update-menu',$menu->menu_id,$store_id)); ?>" method="post" enctype="multipart/form-data">
                      <?php echo e(csrf_field()); ?>

                     
                    <div class="form-group">
                      <label for="exampleInputName1">Item Name</label>
                      <input type="text" class="form-control" id="exampleInputName1" name="menu_name" value="<?php echo e($menu->menu_name); ?>">
                       <input type="hidden" class="form-control" id="exampleInputName1" name="store_id" value="<?php echo e($menu->store_id); ?>"><br>
                      <label for="exampleInputName1">Item Price</label>
                      <input type="text" class="form-control" id="exampleInputName2" name="price" value="<?php echo e($menu->price); ?>"><br>
                       <div class="form-group">
                    <label for="exampleInputName1">Item image</label>
                      <input type="file" name="image" id="exampleInputName3"  class="file-upload-default">
                      <input type="hidden" name="old_image" value="<?php echo e($menu->image); ?>" class="file-upload-default">
                      <div class="input-group col-xs-12">
                        <input type="text" class="form-control file-upload-info" disabled placeholder="Upload Image">
                        <div class="input-group-append">
                          <button class="file-upload-browse btn btn-info" type="button">Upload</button>                          
                        </div>
                      </div>
                      </div>
                      <span class="show"></span>
                    </div>
                    
                    
                    <button type="submit" class="btn btn-success mr-2">Submit</button>
                    <a href="<?php echo e(route('menu',$menu->store_id)); ?>" class="btn btn-light">Cancel</a>
                  </form>
                </div>
              </div>
            </div>
             <div class="col-md-2">
		  </div>
     
          </div>
        </div>
    
 <?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>