<div class="col-sm-8">
    <div class="row gray">
        <div class="col-sm-12 ">
            <div class="col-sm-12">
                <nav class="text-justify">
                    <center>
                        <div class="col-sm-12" style="padding: 0">
                            <span class="clo-sm-4" title="Course Details" style="padding: 0">
                                <a href="" style="cursor:default;">
                                    <span class="number badge" style="background-color: gray">1</span>
                                    <span class="text-left label" style="color: #000;font-size: 14px;font-weight: normal">Schedule a Class</span>
                                    <span class="nav-arrow" id="cborder" style="margin-right: 4px"><img src="<?php echo base_url()?>image/border.jpg"></span>
                                </a>
                            </span>

                            <span class="clo-sm-4" title="Review and Publish" style="padding: 0">
                                <a href="" style="cursor:default;">
                                    <span class="number badge" style="background-color: green">2</span>
                                    <span class="text-left label" style="color: #000;font-size: 14px;font-weight: normal">Review and Publish</span>
                                </a>
                            </span>
                        </div>
                    </center>
                </nav>
            </div>
        </div>

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

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

                <div class="form-group col-sm-5 required" id="url_status"><?php echo form_error('url'); ?></div>
            </div>

            <div class="col-sm-12 text-left" >
                <div class="col-sm-12 text-left" style="padding: 10px;" >
                    <div class="col-sm-2 padding-zero form-group"> Classroom URL:</div>
                    <div class="col-sm-9  form-group" style="padding: 0;">
                        <span class="padding-zero" id="view_url_form">
                            <a href="<?php echo base_url() . $classroom_info->url; ?>">
                                <?php echo base_url(); ?><span><?php echo $classroom_info->url; ?></span>
                            </a>
                        </span>
                    </div>

                    <div class="col-sm-1 form-group" style="padding: 0; display: block" id="edit_url_button">
                        <a href="javascript:void(0)" onclick="updateUrlForm('<?php echo base_url() . 'get-classroom-url-form' ?>', '<?php echo $classroom_info->classroom_id; ?>');"> 
                            <span  class="btn btn-success " >
                                <i class="fa fa-pencil" title="Update URL Form"> </i> 
                            </span>
                        </a>
                    </div>
                    <div class="col-sm-1 form-group" style="padding: 0; display: none" id="save_url_button">
                        <a href="javascript:void(0)" onclick="return saveUpdateURL('<?php echo base_url() . 'update-classroom-url' ?>', '<?php echo $classroom_info->classroom_id; ?>','<?php echo base_url() . 'classroom-review-and-publish' ?>');"> 
                            <span  class="btn btn-success " >
                                <i class="fa fa-save" title="Update URL Form"> </i> 
                            </span>
                        </a>
                    </div>



                </div>

                <div class="col-sm-12"><br></div>
                <div class="col-sm-3 form-group">
                    <a href="<?php echo base_url() . $classroom_info->url; ?>" target="_blank">  <span  class="btn  btn-success" >Launch Class!</span></a>
                </div>
                <div class="col-sm-3 form-group">
                    <a href="<?php echo base_url(); ?>publish-scheduled_classroom">  <span  class="btn  btn-success" >Publish Class!</span></a>
                </div>
                <div class="col-sm-3"></div>
            </div>
        </div>
    </div><!-- /.row gray -->
</div>
<script type="text/javascript" src="<?php echo base_url()?>front_end_resource/classroom/classroom.js"></script>
<script>