<style>
.contact-div{background:#CFD8DC;color:#463F8B;}
.contact-us-section{box-shadow:0 0 2px white;border-radius:12px;background:#fff;}
.form-group input{border-width: 3px;font-weight: 700 }
a{color:black;}
a:hover{text-decoration:none;}
</style>
<div class="container-fluid bg-white">
    <div class="row">
        <div class="col-sm-12">

            <ul class="breadcrumb mt-3">
                <li class="breadcrumb-item"><?php echo $this->session->userdata('ac_year'); ?></li> 
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>Welcome">Home</a></li> 
                <li class="breadcrumb-item"><a href="<?php echo base_url(); ?>School/courses">Courses</a></li> 
                <li class="breadcrumb-item">Add Courses</li>
            </ul>

            <div class="contact-us-section p-3">
                <h1 class="text-center main-heading">Add Course</h1><hr>
                <form method="post" action="#">
                    <?php
                        if($success){
                            echo "<p class='alert alert-success'>".$success."</p>";
                        }else if($error){
                            echo "<p class='alert alert-danger'>".$error."</p>";
                        }
                    ?>
                    <div class="form-group">
                        <label>Course Name <span class="text-danger"></span></label>	
                        <input type="text" class="form-control" name="course" placeholder="Course Name" value="<?php echo set_value('course'); ?>" required>
                    </div>

                    <div class="form-group">
                        <label>Subject Stream</label>
                        <input type="text" class="form-control" name="subject_stream" placeholder="Subject Stream" value="<?php echo set_value('subject_stream'); ?>">
                    </div>

                    <div class="form-group">
                        <input type="submit" name="add_course" class="btn btn-sm btn-success" value="ADD Course">
                    </div>

                </form>
            </div>
    
        </div>

    </div>
</div>