Viewing file: 82381f7144ff5c91d63c1ffa199d8cf3.php (5.81 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $__env->startSection('content'); ?>
<div class="container-fluid">
<!-- Page Heading -->
<div class="card mb-4">
<div class="card-body">
<div class="d-sm-flex align-items-center justify-content-between">
<h3 class="mb-0 bc-title"><b><?php echo e(__('Update Product')); ?></b> </h3>
<a class="btn btn-primary btn-sm" href="<?php echo e(route('back.item.index')); ?>"><i
class="fas fa-chevron-left"></i> <?php echo e(__('Back')); ?></a>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<?php echo $__env->make('alerts.alerts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
</div>
<!-- Nested Row within Card Body -->
<form class="admin-form" action="<?php echo e(route('back.item.update',$item->id)); ?>" method="POST"
enctype="multipart/form-data">
<?php echo csrf_field(); ?>
<?php echo method_field('PUT'); ?>
<div class="row">
<div class="col-lg-8">
<div class="card">
<div class="card-body">
<div class="form-group">
<label for="name"><?php echo e(__('Name')); ?> *</label>
<input type="text" name="name" disabled class="form-control item-name" id="name"
placeholder="<?php echo e(__('Enter Name')); ?>" value="<?php echo e($item->name); ?>">
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="form-group pb-0 mb-0">
<label class="d-block"><?php echo e(__('Featured Image')); ?> *</label>
</div>
<div class="form-group pb-0 pt-0 mt-0 mb-0">
<img class="admin-img lg"
src="<?php echo e($item->photo ? asset('assets/images/'.$item->photo) : asset('assets/images/placeholder.png')); ?>">
</div>
<div class="form-group position-relative ">
<label class="file">
<input type="file" accept="image/*" class="upload-photo" name="photo" id="file"
aria-label="File browser example">
<span class="file-custom text-left"><?php echo e(__('Upload Image...')); ?></span>
</label>
<br>
<span class="mt-1 text-info"><?php echo e(__('Image Size Should Be 800 x 800. or square size')); ?></span>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="form-group">
<label for="details"><?php echo e(__('Description')); ?> *</label>
<textarea name="details" id="details" class="form-control text-editor" rows="6"
placeholder="<?php echo e(__('Enter Description')); ?>"><?php echo e($item->details); ?></textarea>
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="form-group">
<label for="tags"><?php echo e(__('Product Tags')); ?>
</label>
<input type="text" name="tags" class="tags" id="tags" placeholder="<?php echo e(__('Tags')); ?>"
value="<?php echo e($item->tags); ?>">
</div>
</div>
</div>
<div class="card">
<div class="card-body">
<div class="form-group">
<label for="meta_keywords"><?php echo e(__('Meta Keywords')); ?>
</label>
<input type="text" name="meta_keywords" class="tags" id="meta_keywords"
placeholder="<?php echo e(__('Enter Meta Keywords')); ?>" value="<?php echo e($item->meta_keywords); ?>">
</div>
<div class="form-group">
<label for="meta_description"><?php echo e(__('Meta Description')); ?>
</label>
<textarea name="meta_description" id="meta_description" class="form-control" rows="5"
placeholder="<?php echo e(__('Enter Meta Description')); ?>"><?php echo e($item->meta_description); ?></textarea>
</div>
</div>
</div>
</div>
<div class="col-lg-4">
<div class="card">
<div class="card-body">
<input type="hidden" class="check_button" name="is_button" value="0">
<button type="submit" class="btn btn-secondary w-100 mr-2"><?php echo e(__('Update')); ?></button>
</div>
</div>
</div>
</div>
</form>
</div>
<?php $__env->stopSection(); ?> <?php echo $__env->make('master.back', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\PicTech\unipin\unipin\core\resources\views/back/item/edit.blade.php ENDPATH**/ ?>
|