Файловый менеджер - Редактировать - /home/clickysoft/public_html/calvary-p2.clickysoft.net/storage/framework/views/c3c4cb9535f7ccdf74a4096eaff2bd11.php
Назад
<?php $__env->startSection('title', 'Edit Teacher'); ?> <?php $__env->startSection('content'); ?> <div class="container-xxl flex-grow-1 container-p-y"> <div class="row"> <div class="col-md-12"> <div class="card mb-4"> <h5 class="card-header">Edit Teacher</h5> <div class="card-body"> <form action="<?php echo e(route('teacher.update.data', $teacher->id)); ?>" method="POST" enctype="multipart/form-data"> <?php echo csrf_field(); ?> <?php echo $__env->make('partials.alert', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <div class="row"> <div class="col-md-6 mb-6"> <label class="form-label" for="first_name">First Name <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <input type="text" class="form-control" name="first_name" id="first_name" value="<?php echo e(old('first_name', $teacher->first_name)); ?>" placeholder="Enter first name" /> </div> <div class="col-md-6 mb-6"> <label class="form-label" for="last_name">Last Name <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <input type="text" class="form-control" name="last_name" id="last_name" value="<?php echo e(old('last_name', $teacher->last_name)); ?>" placeholder="Enter last name" /> </div> <div class="col-md-6 mb-6"> <label class="form-label" for="grade_id">Grades <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <select class="form-control select2" name="grade_ids[]" id="grade_id" multiple> <?php $__currentLoopData = $grades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $grade): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <option value="<?php echo e($grade->id); ?>" <?php if(in_array($grade->id, old('grade_ids', $existing_grades))): echo 'selected'; endif; ?>> <?php echo e($grade->title); ?></option> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </select> </div> <div class="col-md-6 mb-6"> <label class="form-label" for="status">Status <i class="fa fa-asterisk small-font text-danger" aria-hidden="true"></i> </label> <select name="status" id="status" class="form-select"> <option value="1" <?php if(old('status', $teacher->status) === 1): echo 'selected'; endif; ?>>Active</option> <option value="0" <?php if(old('status', $teacher->status) === 0): echo 'selected'; endif; ?>>Inactive</option> </select> </div> </div> <div class="row mt-3"> <div class="col-md-12"> <a href="<?php echo e(route('manage.teachers')); ?>" class="btn btn-danger redirect-btn">Back</a> <button type="submit" class="btn btn-primary" onclick="showLoader()">Update</button> </div> </div> </form> </div> </div> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush('admin-scripts'); ?> <script> $(document).ready(function() { $('select.select2').select2(); }); </script> <?php $__env->stopPush(); ?> <?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/clickysoft/public_html/calvary-p2.clickysoft.net/resources/views/admin/teachers/update.blade.php ENDPATH**/ ?>
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка