<div class="container">
    <div class="row">

        <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-default">
                <div class="panel-heading">
                    <h2 class="form-signin-heading">Login</h2>

                </div>



                <div class="panel-body">

                    <?php $attributes = array('class' => 'form-horizontal'); ?>

                    <?php echo form_open("auth/login", $attributes); ?>

                    <span class="msgF pull-right">* required field.</span>

                    <div class="form-group">           
                        <label for="email" class="col-sm-3 control-label">Email/Username:</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" id="identity" name="identity" autocomplete="off" value="<?php echo set_value('identity'); ?>" placeholder="Email">
                        </div>
                        <div class="col-sm-1">
                            <span class="error2">*</span>
                        </div>
                    </div>

                    <div class="form-group">           
                        <label for="password" class="col-sm-3 control-label">Password:</label>
                        <div class="col-sm-5">
                            <input type="password" class="form-control" id="password" name="password" placeholder="Password">
                        </div>
                        <div class="col-sm-1">
                            <span class="error2">*</span>
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="remember" class="checkbox-inline col-sm-3 control-label"><strong>Remember Me:</strong></label>
                        <div class="col-sm-5">
                            <label class="checkbox-inline">
                                <input type="checkbox" id="remember" name="remember" class="childC">
                            </label>
                        </div>
                    </div>

                    <div class="form-group">
                        <div class="col-sm-offset-3 col-sm-10">
                            <button type="submit" class="btn btn-primary btn-xs">Login 
                                <i class="glyphicon glyphicon-log-in"></i></button>  
                        </div>
                    </div>

                    <p id="psize"><a href="<?php echo base_url(); ?>auth/save_user">Register</a></p>
                    <p id="psize"><a href="<?php echo base_url(); ?>auth/forgot_password">Forgot your Password</a></p>

                    <?php echo form_close(); ?>

                </div>





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