<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 }
.form-group select{border-width: 3px;font-weight: 700 }
</style>
<div class="container-fluid p-3 contact-div">
<div class="row">

<div class="col-sm-12">

<div class="contact-us-section p-3">
<h1 class="text-center">Add Student</h1>	
<form method="post" action="#">
    
<div class="form-group">
<label>Student Name <span class="text-danger"></span></label>	
<input type="text" class="form-control" name="Student_name" placeholder="Student Name" value="<?php echo set_value('Student_name'); ?>">
</div>

<div class="form-group">
<select name="course_name" class="form-control">
	<option value="">Select</option>
	<?php
$table='courses';
$school_id=$this->session->userdata('school_id');
$get_staff_data=$this->StudentModel->get_data($school_id,$table);
if($get_staff_data){
foreach($get_staff_data as $data){
?>
<option value="<?php echo $data['id']; ?>"><?php echo $data['course_name']; ?></option>
<?php
}
}
?>
</select>

</div>

<div class="form-group">
<label>Father Name<span class="text-danger"><?php echo form_error('father_name');?></span></label>
<input type="text" name="father_name" placeholder="Father Name" class="form-control" value="<?php echo set_value('father_name'); ?>">
</div>

<div class="form-group">
<label>Student Address<span class="text-danger"><?php echo form_error('student_address');?></span></label>
<input type="text" name="student_address" placeholder="Student Address" class="form-control" value="<?php echo set_value('student_address'); ?>">
</div>

<div class="form-group">
<label>Student Email<span class="text-danger"><?php echo form_error('student_email');?></span></label>
<input type="Email" name="student_email" placeholder="Student Email" class="form-control" value="<?php echo set_value('student_email'); ?>">
</div>

<div class="form-group">
<label>Mobile No<span class="text-danger"><?php echo form_error('mobile_no');?></span></label>
<input type="number" name="mobile_no" placeholder="Mobile No" class="form-control" value="<?php echo set_value('mobile_no'); ?>">
</div>
<br>


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

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

</div>
</div>