fix is_new issue with enrollment fixes
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
<?= $this->extend('layout/main_layout') ?>
|
||||
<?= $this->section('content') ?>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<main class="col-md-9 ml-sm-auto col-lg-10 px-md-4">
|
||||
<div class="alert alert-success mt-4">
|
||||
<h4 class="alert-heading">Success!</h4>
|
||||
<p>The student(s) has/have been successfully enrolled.</p>
|
||||
<p>You will be redirected to the enroll page shortly...</p>
|
||||
</div>
|
||||
</main>
|
||||
<?php $successMessage = session()->getFlashdata('success'); ?>
|
||||
<div class="container my-4">
|
||||
<div class="alert alert-success">
|
||||
<h4 class="alert-heading">Success!</h4>
|
||||
<p><?= esc($successMessage ?: 'The student(s) has/have been successfully enrolled.') ?></p>
|
||||
<p class="mb-0">You will be redirected to the enroll page shortly...</p>
|
||||
</div>
|
||||
<a href="<?= base_url('/parent/enroll_classes') ?>" class="btn btn-success">Return to Enrollment</a>
|
||||
</div>
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
@@ -17,6 +15,6 @@
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
window.location.href = "<?= base_url('/parent/enroll_classes'); ?>";
|
||||
}, 5000); // 2500 milliseconds = 2.5 seconds
|
||||
}, 5000);
|
||||
</script>
|
||||
<?= $this->endSection() ?>
|
||||
<?= $this->endSection() ?>
|
||||
|
||||
Reference in New Issue
Block a user