관리-도구
편집 파일: 208c8c638e031ea27144028951a2f463.php
<?php if (isset($component)) { $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb = $attributes; } ?> <?php $component = Modules\LMS\View\Components\Dashboard\Layout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('dashboard-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(\Modules\LMS\View\Components\Dashboard\Layout::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes([]); ?> <?php $__env->slot('title', null, []); ?> <?php if(isset($emailTemplate)): ?> <?php echo e(translate('Edit Email')); ?> <?php else: ?> <?php echo e(translate('Create Email')); ?> <?php endif; ?> <?php $__env->endSlot(); ?> <!-- BREADCRUMB --> <?php if (isset($component)) { $__componentOriginalcf27f2c2c873893339708d5fdeeb6984 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => '7ee9c4f86007ba41bc79bbfab1cd8a68::admin.breadcrumb','data' => ['backUrl' => ''.e(route('email-template.index')).'','title' => ''.e(isset($emailTemplate) ? 'Edit' : 'Create').'','pageTo' => 'Email']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?> <?php $component->withName('portal::admin.breadcrumb'); ?> <?php if ($component->shouldRender()): ?> <?php $__env->startComponent($component->resolveView(), $component->data()); ?> <?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?> <?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?> <?php endif; ?> <?php $component->withAttributes(['back-url' => ''.e(route('email-template.index')).'','title' => ''.e(isset($emailTemplate) ? 'Edit' : 'Create').'','page-to' => 'Email']); ?> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984)): ?> <?php $attributes = $__attributesOriginalcf27f2c2c873893339708d5fdeeb6984; ?> <?php unset($__attributesOriginalcf27f2c2c873893339708d5fdeeb6984); ?> <?php endif; ?> <?php if (isset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984)): ?> <?php $component = $__componentOriginalcf27f2c2c873893339708d5fdeeb6984; ?> <?php unset($__componentOriginalcf27f2c2c873893339708d5fdeeb6984); ?> <?php endif; ?> <form action="<?php echo e(isset($emailTemplate) ? route('email-template.update', $emailTemplate->id) : route('email-template.store')); ?>" method="POST" class="form" enctype="multipart/form-data"> <?php if(isset($emailTemplate)): ?> <?php echo method_field('put'); ?> <?php endif; ?> <?php echo csrf_field(); ?> <div class="card"> <div class="grid grid-cols-2 gap-x-4 gap-y-6"> <div class="col-span-full xl:col-auto leading-none"> <label for="subjectName" class="form-label"> <?php echo e(translate('Subject Name')); ?> </label> <input type="text" name="subject" id="subjectName" placeholder="<?php echo e(translate('Subject Name')); ?>" class="form-input" value="<?php echo e($emailTemplate->subject ?? ''); ?>"> <span class="text-danger error-text subject_err"></span> </div> <div class="col-span-full xl:col-auto leading-none"> <label for="emailTemplate" class="form-label"> <?php echo e(translate('Template Name')); ?> </label> <input type="text" name="template_name" id="emailTemplate" placeholder="<?php echo e(translate('Template Name')); ?>" class="form-input" value="<?php echo e($emailTemplate->template_name ?? ''); ?>"> <span class="text-danger error-text template_name_err"></span> </div> <div class="col-span-full"> <label for="description" class="form-label"> <?php echo e(translate('Template Content')); ?> </label> <textarea name="description" class="summernote"><?php echo clean($emailTemplate->description ?? ''); ?></textarea> <span class="text-danger error-text description_err"></span> </div> </div> </div> <div class="card flex justify-end"> <button type="submit" class="btn b-solid btn-primary-solid dk-theme-card-square"> <?php echo e(isset($emailTemplate) ? translate('Update') : translate('Submit')); ?> </button> </div> </form> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?> <?php $attributes = $__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb; ?> <?php unset($__attributesOriginald7f77a02f879fd4954ea3c39c4e952cb); ?> <?php endif; ?> <?php if (isset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb)): ?> <?php $component = $__componentOriginald7f77a02f879fd4954ea3c39c4e952cb; ?> <?php unset($__componentOriginald7f77a02f879fd4954ea3c39c4e952cb); ?> <?php endif; ?> <?php /**PATH D:\www\edulab\Modules\LMS\resources\views\portals\admin\email-template\create.blade.php ENDPATH**/ ?>