<?php echo $__env->make('admin.class.class.components.filter', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<div class="card custom-border" style="border: 1px solid #ccc">
    <div class="card-header">
        <h5 style="margin: 0">Thông tin phòng học</h5>
    </div>
    <div class="card-body">
        <div class="row m-0">
            <div class="form-group">
                <label for="name">Tên phòng học</label>
                <input type="text" class="form-control" id="name" name="name"
                    value="<?php echo e(isset($getEdit) ? $getEdit->name : old('name')); ?>" placeholder="Tên phòng học">
                <?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                    <div class="message_error"><?php echo e($message); ?></div>
                <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
            </div>
        </div>
        <div class="form-group">
            <label for="class_description">Mô tả phòng học</label>
            <textarea class="form-control" id="description" name="description" placeholder="Mô tả phòng học"><?php echo e(isset($getEdit) ? $getEdit->description : old('description')); ?></textarea>
            <?php $__errorArgs = ['description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <div class="message_error"><?php echo e($message); ?></div>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
        </div>
        <div class="form-group">
            <label for="class_description">Trạng Thái</label>
            <select class="form-select form-control" id="status" name="status">
                <option value="0" <?php echo e(isset($getEdit) && $getEdit->status == 0 ? 'selected' : ''); ?>>Hoạt Động
                </option>
                <option value="1" <?php echo e(isset($getEdit) && $getEdit->status == 1 ? 'selected' : ''); ?>>Không Hoạt Động
                </option>
            </select>
        </div>
    </div>
</div>
<?php /**PATH C:\laragon\www\3_LARAVEL\SchoolManagementSystem\SchoolManagementSystem\resources\views/admin/classroom/classroom/components/general.blade.php ENDPATH**/ ?>