

<?php $__env->startSection('Title'); ?>
    Dashboard |Restaurant
<?php $__env->stopSection(); ?>


<?php $__env->startSection('content'); ?>
<div class="container-fluid">
                    <!-- Small boxes (Stat box) -->
<div class="row">
	<div class="col-12">
		<!-- jquery validation -->
		<<!-- jquery validation -->
		<div class="card" style="margin-top: 10px;">
			<div class="card-header" style="background:#8141a1">
				<h3 class="card-title" style="color: white;">Edit Addon</h3>
			</div>
			<!-- /.card-header -->
			<!-- form start -->
			<form role="form" id="createForm" method="POST" action="<?php echo e(route('update.addons')); ?>" enctype="multipart/form-data">
				<?php echo csrf_field(); ?>		
                <input type="hidden" name="id" value="<?php echo e($addons->id); ?>">
                <div class="card-body">
										 <div class="form-group row">
    <label for=name class="col-sm-3 col-form-label">Addon Name
        <span class="text-danger">*</span>
            </label>
    <div class="col-sm-9 input-wrapper">
        <input type=text class="form-control" name=name id=name
        value="<?php echo e($addons->name); ?>" />
    </div>
</div>

 

					 <div class="form-group row">
    <label for=addons_category_id class="col-sm-3 col-form-label">Addon Category
        <span class="text-danger">*</span>
            </label>
    <div class="col-sm-9 input-wrapper">

    <select name=addons_category_id class="form-control select2" style="width: 100%;">
                <option value="3" >
            Fillings</option>
                <option value="2" >
            Size</option>
                <option value="1" >
            Crust</option>
            </select>
</div>
</div>

 

					 <div class="form-group row">
    <label for=price class="col-sm-3 col-form-label">Price
        <span class="text-danger">*</span>
            </label>
    <div class="col-sm-9 input-wrapper">
        <input type=number class="form-control" name=price id=price
        value="<?php echo e($addons->price); ?>"   step=".00000001"   />
    </div>
</div>

<div class="form-group row">
    <label for=active class="col-sm-3 col-form-label">Active
            </label>
    <div class="col-sm-9 input-group  p-1">
        <label class="switch" >
            <input type="checkbox" name=active  <?php echo e($addons->active == 'on' ? 'checked' : ''); ?> >
            <span class="slider round"></span>
        </label>
    </div>
</div>
 
				</div>
				<!-- /.card-body -->
				<div class="card-footer">
                <button type="submit" class="btn" style="background: #8141a1;color: white;">Submit</button>

				</div>
			</form>
		</div>
		<!-- /.card -->
	</div>
</div>
<!-- ./col -->
</div>
<!-- /.row -->
                </div>

<?php $__env->stopSection(); ?>


<?php $__env->startSection('scripts'); ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH F:\Laravel\Restaurant\resources\views/admin/edit_addon.blade.php ENDPATH**/ ?>