관리-도구
편집 파일: a958c3e00a9835e3361b6a35794b5f24.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(isset($permission) ? translate('Edit') : translate('Create')); ?> <?php echo e(translate('Permission')); ?> <?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' => ['title' => ''.e(isset($permission) ? 'Edit' : 'Create').' Permission','pageTo' => 'Permission','backUrl' => ''.e(route('permission.index')).'']] + (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(['title' => ''.e(isset($permission) ? 'Edit' : 'Create').' Permission','page-to' => 'Permission','back-url' => ''.e(route('permission.index')).'']); ?> <?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($permission) ? route('permission.update', $permission->id) : route('permission.store')); ?>" method="post" class="form"> <?php echo csrf_field(); ?> <?php if(isset($permission)): ?> <?php echo method_field('PUT'); ?> <?php endif; ?> <div class="grid grid-cols-12 card"> <div class="col-span-full md:col-span-6"> <div class="leading-none"> <label class="form-label"> <?php echo e(translate('Name')); ?> <span class="require-field"><b>*</b></span></label> <input type="text" name="name" value="<?php echo e($permission->name ?? ''); ?>" class="form-input"> <span class="text-danger error-text name_err"></span> </div> <div class="leading-none mt-6"> <label class="form-label"> <?php echo e(translate('Module Name')); ?> <span class="require-field"><b>*</b></span></label> <input type="text" name="module" value="<?php echo e($permission->module ?? ''); ?>" class="form-input"> <span class="text-danger error-text module_err"></span> </div> <input type="hidden" name="guard_name" value="admin" class="form-input"> </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($permission) ? translate('Update') : translate('Save')); ?> </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\Roles\resources\views\permissions\form.blade.php ENDPATH**/ ?>