<!--<div class="col-sm-12"><br></div>-->
<!--<div class="col-sm-12">-->
<!--<p style="font-weight: bold">Class Title : <?php echo ''; ?></p>-->
<form name="newCourseForm" id="formID3" method="post" onsubmit="return UpdateUrl();">
    <div class="col-sm-12 text-left" style="padding: 10px;" >
        <div class="col-sm-3"> Classroom URL:</div>
        <div class="col-sm-8" style="padding: 0;">
            <span class="padding-zero">
                <a href="<?php echo base_url() . $classroom_info->url; ?>">
                    <?php echo base_url(); ?><span id="viewURL"><?php echo $classroom_info->url; ?></span>
                </a>
            </span>
            <input id="urlID"  type="hidden"value="<?php echo $classroom_info->url_id ?> ">
            <input type="hidden" name="old_url" id="old_url" value="<?php echo $classroom_info->url; ?>">
            <input data-errormessage-value-missing="Classroom url is required!"
                   class="validate[required, custom[urlSpecialCaracter], custom[spaceFunction], custom[urlExistence]]" 
                   id="URLfield" name="url"
                   style="display: none" type="text"
                   onkeyup="checkProfileUrl(this.value);">
            <input type="hidden" name="url_exist" id="url_exist" value="">
        </div>

        <div class="col-sm-1" style="padding: 0;" id="edit_url">
            <a href="javascript:void(0)" onclick="updateUrlForm();"> 
                <span  class="btn btn-success " >
                    <i class="fa fa-pencil" title="Update URL Form"> </i> 
                </span>
            </a>
        </div>
        <div class="col-sm-1" style="padding: 0; display: none" id="save_update_url">
            <!--<a href="#"  > <i class="fa fa-save" title="Update URL "> </i> </span></a>-->
            <input class="btn btn-success" id="sm" type="submit"  value="Update" name="update">
        </div>
    </div>
</form>

<p class="col-sm-12" id="fullLink" style="display: none"><br><b>Create Link</b> : <?php echo base_url(); ?>
    <span id="createLink"></span>
</p>
<!--</div>-->

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

<div class="col-sm-3">
    <!--<input type="submit" class="green-btn btn btn-default" name="btn" value="Launch Class"><br/><br/>-->
    <a href="<?php echo base_url(); ?>launch-class/<?php echo $classroom_info->url; ?>">  <span  class="btn  btn-success" >Launch Class!</span></a>
</div>
<div class="col-sm-3">
    <!--<input type="submit" class="green-btn btn btn-default" name="btn" value="Review and Publish"><br/><br/>-->
    <a href="<?php echo base_url(); ?>publish-class/<?php echo $classroom_info->url; ?>">  <span  class="btn  btn-success" >Publish Class!</span></a>
</div>

<div class="col-sm-3"></div>

