<style>
.add-teacher{
    /*border:1px solid;*/
    /*padding:20px;*/
    /*margin-top:100px;*/
    /*margin-bottom:150px;*/
    /*background:#DFF0D8 !important;*/
    /*box-shadow:0 0 5px green ;*/
    /*border-radius:15px;*/
}    
/*body{background:#fff !important;}*/

.w-50{
    width:50%;
    float:left;
    padding:0px 10px;
}
</style>

<div class="container-fluid mt-3 mb-3 bg-white">
    <div class="row">
        <div class="col-sm-12 pt-3 pb-3">
            <ul class="breadcrumb">
                <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(); ?>Management/view_staff">All Staff</a></li>
                <li class="breadcrumb-item">Add Staff</li>
            </ul>
    
            
            <form  method="post" enctype="multipart/form-data">
                <div class="add-teacher">
                    <h2 class="main-heading">Add New Staff</h2><hr>
                    <?php if($success){ ?>
                    <p class="alert alert-success"> <?php echo $success; ?></p>
                    <?php } ?>
                    <?php if($error){ ?>
                    <p class="alert alert-danger"> <?php echo $error; ?></p>
                    <?php } ?>
                    <div class="form-group w-50">
                        <label>Teacher Name</label>    
                        <input type="text" class="form-control" name="teacher_name" placeholder="Teacher Name" required>
                    </div>

                    <div class="form-group w-50">
                        <label>Mobile Number:</label>    
                        <input type="number" class="form-control" name="mobile_number" placeholder="Mobile Number" required>
                    </div>

                    <!--<div class="form-group">-->
                        <!--<label>Email:</label>    -->
                        <!--<input type="email" class="form-control" name="teacher_email" placeholder="Email">-->
                    <!--</div>-->
    
                    <div class="form-group">
                        <input type="submit" class="btn btn-success" name="add_teacher" placeholder="Email" value="Submit">
                    </div>

                </div>

            </form>
    
        </div>


    </div>
</div>