<?php if (isset($component)) { $__componentOriginal91fdd17964e43374ae18c674f95cdaa3 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal91fdd17964e43374ae18c674f95cdaa3 = $attributes; } ?>
<?php $component = App\View\Components\AdminLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('admin-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\App\View\Components\AdminLayout::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
     <?php $__env->slot('header', null, []); ?> 
        <h1 class="text-2xl font-bold">Response Template Details</h1>
     <?php $__env->endSlot(); ?>

    <div class="p-6 bg-white rounded-lg shadow-md dark:bg-gray-800">
        <h2 class="text-xl font-semibold text-gray-900 dark:text-gray-100">Template Information</h2>

        <p class="mt-2 text-gray-600 dark:text-gray-400">Title:  <span class="font-medium"><?php echo e($responseTemplate->title); ?></span></p>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Write To: <span class="font-medium"><?php echo e($responseTemplate->write_to); ?></span></p>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Reason:  <span class="font-medium"><?php echo e($responseTemplate->reason); ?></span></p>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Stage of Booking:  <span class="font-medium"><?php echo e($responseTemplate->stage_of_booking); ?></span></p>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Type:  <span class="font-medium"><?php echo e($responseTemplate->type); ?></span></p>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Subject:  <span class="font-medium"><?php echo e($responseTemplate->subject); ?></span></p>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Content: </p>
        <div class="p-4 mt-2 text-gray-700 bg-gray-100 rounded-lg dark:text-gray-300 dark:bg-gray-700">
            <?php echo nl2br(e($responseTemplate->content)); ?>

        </div>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Notes: <span class="font-medium"><?php echo e($responseTemplate->notes); ?></span></p>
        <p class="mt-2 text-gray-600 dark:text-gray-400">Groups: <span class="font-medium"><?php echo e($responseTemplate->groups->pluck('name')->implode(', ')); ?></span></p>

        <div class="flex items-center justify-between mt-4">
            <a href="<?php echo e(route('admin.response_templates.index')); ?>" class="text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white">
                Back to List
            </a>
            <a href="<?php echo e(route('admin.response_templates.edit', $responseTemplate)); ?>" class="px-4 py-2 text-xs font-semibold tracking-widest text-white uppercase bg-indigo-600 border border-transparent rounded-md shadow-sm hover:bg-indigo-700">
                Edit Template
            </a>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal91fdd17964e43374ae18c674f95cdaa3)): ?>
<?php $attributes = $__attributesOriginal91fdd17964e43374ae18c674f95cdaa3; ?>
<?php unset($__attributesOriginal91fdd17964e43374ae18c674f95cdaa3); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal91fdd17964e43374ae18c674f95cdaa3)): ?>
<?php $component = $__componentOriginal91fdd17964e43374ae18c674f95cdaa3; ?>
<?php unset($__componentOriginal91fdd17964e43374ae18c674f95cdaa3); ?>
<?php endif; ?>
<?php /**PATH C:\xampp8.2\htdocs\Portal\resources\views/admin/response_templates/show.blade.php ENDPATH**/ ?>