관리-도구
편집 파일: 9801a7402dd59c55458d58ee05e480df1af08582.php
<form method="post" class="ajax-screen-submit" autocomplete="off" action="<?php echo e(action('ReviewsController@update', $id)); ?>" enctype="multipart/form-data"> <?php echo e(csrf_field()); ?> <input name="_method" type="hidden" value="PATCH"> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('User')); ?></label> <input type="text" class="form-control" name="user_id" value="<?php echo e($productreviews->user->name); ?>" readonly> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Product')); ?></label> <input type="text" class="form-control" name="product_id" value="<?php echo e($productreviews->product->translation->name); ?>" readonly> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Rating')); ?></label> <select class="form-control auto-select" data-selected="<?php echo e($productreviews->rating); ?>" name="rating"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Comment')); ?></label> <textarea class="form-control" name="comment"><?php echo e($productreviews->comment); ?></textarea> </div> </div> <div class="col-md-12"> <div class="form-group"> <label class="control-label"><?php echo e(_lang('Status')); ?></label> <select class="form-control auto-select" name="is_approved" data-selected="<?php echo e($productreviews->is_approved); ?>"> <option value="0"><?php echo e(_lang('Pending')); ?></option> <option value="1"><?php echo e(_lang('Approved')); ?></option> </select> </div> </div> <div class="form-group"> <div class="col-md-12"> <button type="submit" class="btn btn-primary"><?php echo e(_lang('Update')); ?></button> </div> </div> </form> <?php /**PATH /home/customdevdevopdi/findjobs.customdev.devopdigital.com/resources/views/backend/discussions/reviews/modal/edit.blade.php ENDPATH**/ ?>