관리-도구
편집 파일: 3183338b8b97cb9bfaaa656e9a54b8e0.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 echo e(translate('Edit Notice')); ?> <?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('noticeboard.index')).'','title' => 'Edit','pageTo' => 'Noticeboard']] + (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('noticeboard.index')).'','title' => 'Edit','page-to' => 'Noticeboard']); ?> <?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; ?> <div class="card overflow-hidden"> <div class="overflow-x-auto scrollbar-table"> <form action="<?php echo e(route('noticeboard.store')); ?>" method="post" class="form"> <?php echo csrf_field(); ?> <?php if(isset($notice)): ?> <input type="hidden" value="<?php echo e($notice->id); ?>" name="id"> <?php endif; ?> <div class="grid grid-cols-2 gap-x-4 gap-y-6"> <div class="col-span-full xl:col-auto leading-none"> <label for="noticeTitle" class="form-label"><?php echo e(translate('Notice title')); ?> <span class="text-danger">*</span></label> <input type="text" id="noticeTitle" placeholder="<?php echo e(translate('Notice Title')); ?>" name="title" class="form-input" autocomplete="off" value="<?php echo e($notice->title ?? ''); ?>"> <span class="text-danger error-text title_err"></span> </div> <div class="col-span-full xl:col-auto leading-none"> <label for="noticeType" class="form-label"> <?php echo e(translate('Type')); ?> <span class="text-danger">*</span></label> <select class="singleSelect" name="type" data-minimum-results-for-search="Infinity"> <option selected disabled> <?php echo e(translate('Select Type')); ?> </option> <option value="student" <?php echo e(isset($notice) && $notice->type == 'student' ? 'selected' : ''); ?>> <?php echo e(translate('Students')); ?> </option> <option value="instructor" <?php echo e(isset($notice) && $notice->type == 'instructor' ? 'selected' : ''); ?>> <?php echo e(translate('Instructors')); ?> </option> <option value="student-instructor" <?php echo e($notice->type == 'student-instructor' ? 'selected' : ''); ?>> <?php echo e(translate('Students and Instructors')); ?> </option> <option value="organization" <?php echo e(isset($notice) && $notice->type == 'organization' ? 'selected' : ''); ?>> <?php echo e(translate('Organization')); ?> </option> </select> <span class="text-danger error-text type_err"></span> </div> <div class="col-span-full"> <label for="courseType" class="form-label"><?php echo e(translate('Message')); ?></label> <textarea class="summernote" name="message"><?php echo clean($notice->description ?? ''); ?></textarea> </div> </div> <button type="submit" class="btn b-solid btn-primary-solid px-5 cursor-pointer mt-6"> <?php echo e(isset($notice) ? translate('Update') : translate('Save')); ?> </button> </form> </div> </div> <?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\notices-board\edit.blade.php ENDPATH**/ ?>