<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">Change Password</h2>

                </div>

                <div class="panel-body">
                    <?php
                    $attributes = array(
                        'class' => 'form-horizontal',
                    );
                    ?>
                    
                    <?php echo validation_errors('<p class="alert alert-dismissable alert-danger">'); ?>

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

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

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

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

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

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

                    <?php echo form_input($user_id); ?>
                    <?php echo form_close(); ?>

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