<ul class="test nav navbar-nav">
    <form class="navbar-form navbar-left mobileViewSearch" role="search">
        <div class="input-group searchArea">
            <?php if($batch_type == 'created'){?>
            <input type="text" 
                   class="form-control" 
                   id="search-input"
                   oninput="searchBatchTypeView(this.value,'created','<?php echo base_url() . 'view-individual-search-batch' ?>')"
                   placeholder="Search created batch here ..." 
                   aria-describedby="basic-addon1">
            <?php }else if($batch_type == 'running'){ ?>
            <input type="text" 
                   class="form-control" 
                   id="search-input"
                   oninput="searchBatchTypeView(this.value,'running','<?php echo base_url() . 'view-individual-search-batch' ?>')"
                   placeholder="Search running batch here ..." 
                   aria-describedby="basic-addon1">
            <?php }else if($batch_type == 'finished'){ ?>
            <input type="text" 
                   class="form-control" 
                   id="search-input"
                   oninput="searchBatchTypeView(this.value,'finished','<?php echo base_url() . 'view-individual-search-batch' ?>')"
                   placeholder="Search finished batch here ..." 
                   aria-describedby="basic-addon1">
             <?php }else if($batch_type == 'cancel'){ ?>
            <input type="text" 
                   class="form-control" 
                   id="search-input"
                   oninput="searchBatchTypeView(this.value,'cancel','<?php echo base_url() . 'view-individual-search-batch' ?>')"
                   placeholder="Search cancel batch here ..." 
                   aria-describedby="basic-addon1">
            <?php } ?>
            <span class="input-group-addon" id="basic-addon1"><i class="fa fa-search"></i></span>
            <div id="searchContainer" class="searchdivContainer" style="display: none"></div>
        </div>
    </form>
</ul>

