<div class="modal"> <div class="modal-header"> <h3>Login <small>Please login with your email address and password below.</small></h3> </div> <div class="modal-body"> <?php echo form_open(current_url(), 'class="form-horizontal"'); ?> <?php bootstrap_input('email', 'Email'); ?> <?php bootstrap_password('password', 'Password'); ?> <div class="control-group"> <div class="controls"> <label class="checkbox"><?php echo form_checkbox('remember', '1', FALSE); ?> Remember me</label> </div> </div> </div> <div class="modal-footer"> <a href="<?php echo base_url('auth/forgot_password'); ?> ">Forgot password?</a> <?php echo form_submit('submit', 'Login', 'class="btn btn-primary"'); ?>
<?php bootstrap_input('first_name', 'First Name'); ?> <?php bootstrap_input('last_name', 'Last Name'); ?> <?php bootstrap_input('email', 'Email'); ?> <?php bootstrap_input('company', 'Company'); ?> <?php bootstrap_input('phone', 'Phone'); ?> <?php bootstrap_password('password', 'Password'); ?> <?php bootstrap_password('password_confirm', 'Confirm Password'); ?> <div class="controls"> <?php echo form_submit('submit', 'Register', 'class="btn btn-primary"'); ?> </div> <?php echo form_close(); ?> </div> </div>
<?php echo form_close(); ?> <br> </div> <div class="span4"> <h3>Update Password</h3><hr> <?php echo form_open(current_url(), 'class="form-horizontal"'); ?> <?php echo bootstrap_password('old_password', 'Old Password'); ?> <?php echo bootstrap_password('new_password', 'New Password'); ?> <?php echo bootstrap_password('new_password_confirm', 'Confirm New Password'); ?> <div class="controls"> <?php echo form_submit('update_password', 'Update Password', 'class="btn btn-primary"'); ?> </div> <?php echo form_close(); ?> </div> </div> </div>