

<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="container-header">
        <h1><?php echo e($pageTitle); ?></h1>
        <a href="/email/templates.html" class="btn btn-primary"><i class="las la-arrow-left"></i>Back</a>
    </div>

    <div class="card p-20 mb-25">
        <h2 class="card-title mb-25">Variables</h2>
        <div class="list-group">
            <?php $__empty_1 = true; $__currentLoopData = $userTemplate->meaning; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
            <div class="list-group-item">
                <span><?php echo e('{' . $key . '}'); ?></span>
                <span><?php echo e($value); ?></span>
            </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
            <div class="list-group-item">
                <span class="text-muted">No variables available</span>
            </div>
            <?php endif; ?>
        </div>
    </div>

    <div class="card p-20">
        <form action="<?php echo e(route('backend.email.user-template.update', $userTemplate->id)); ?>" method="post">
            <?php echo csrf_field(); ?>
            <?php echo method_field('PUT'); ?>
            <div class="form-group mb-25">
                <label class="form-label">Subject<span class="required">*</span></label>
                <input type="text" class="form-control" name="subject" placeholder="Enter property name" value="<?php echo e($userTemplate->subject); ?>">
            </div>
            <div class="form-group mb-25">
                <label class="form-label">Template<span class="required">*</span></label>
                <textarea class="textarea" name="template" placeholder="Enter property name"><?php echo e($userTemplate->template); ?></textarea>
            </div>
            <button class="btn btn-primary"><i class="las la-save"></i>Update template</button>
        </form>
    </div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backend.layout.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\HP\Desktop\nbverify\mine\resources\views/backend/email/details-user.blade.php ENDPATH**/ ?>