<?php $__env->startSection('title', $feature->title); ?>
<?php $__env->startSection('back', route('admin.features.index')); ?>
<?php $__env->startSection('container', 'container-max-lg'); ?>
<?php $__env->startSection('content'); ?>
    <form id="vironeer-submited-form" action="<?php echo e(route('admin.features.update', $feature->id)); ?>" method="POST"
        enctype="multipart/form-data">
        <?php echo csrf_field(); ?>
        <?php echo method_field('PUT'); ?>
        <div class="card p-2 mb-3">
            <div class="card-body">
                <div class="vironeer-file-preview-box mb-3 bg-light p-5 text-center">
                    <div class="file-preview-box mb-3">
                        <img id="filePreview" src="<?php echo e(asset($feature->image)); ?>" class="rounded-3 w-100" height="80px"
                            height="80px">
                    </div>
                    <button id="selectFileBtn" type="button" class="btn btn-secondary mb-2"><i
                            class="fas fa-camera me-2"></i><?php echo e(admin_trans('Choose Image')); ?></button>
                    <input id="selectedFileInput" type="file" name="image" accept=".png, .jpg, .jpeg, .svg" hidden>
                    <small class="text-muted d-block"><?php echo e(admin_trans('Allowed (PNG, JPG, JPEG, SVG)')); ?></small>
                </div>
                <div class="mb-3">
                    <label class="form-label"><?php echo e(admin_trans('Language')); ?></label>
                    <select id="articleLang" name="lang" class="form-select select2" required>
                        <option></option>
                        <?php $__currentLoopData = $adminLanguages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $adminLanguage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($adminLanguage->code); ?>"
                                <?php echo e($feature->lang == $adminLanguage->code ? 'selected' : ''); ?>>
                                <?php echo e($adminLanguage->name); ?></option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </div>
                <div class="mb-3">
                    <label class="form-label"><?php echo e(admin_trans('Title')); ?></label>
                    <input type="text" name="title" class="form-control" value="<?php echo e($feature->title); ?>" required />
                </div>
                <div class="mb-3">
                    <label class="form-label"><?php echo e(admin_trans('Body')); ?></label>
                    <textarea name="body" rows="10" class="form-control" placeholder="<?php echo e(admin_trans('Max 600 characters')); ?>"
                        required><?php echo e($feature->body); ?></textarea>
                </div>
            </div>
        </div>
    </form>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.form', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/neofiles.codenine.biz.id/resources/views/backend/others/features/edit.blade.php ENDPATH**/ ?>