<div class="container">
    <div class="row">
        
        
        <div class="col-md-6 col-md-offset-3">
            
            
            <div class="panel panel-default">

                <div class="panel-heading form-group">
                    <ul class="list-group pull-right">
                        <li><a href="<?php echo base_url(); ?>auth/save_user">Individual</a></li>
                        <li><a href="<?php echo base_url(); ?>auth/save_company">Company</a></li>
                    </ul>
                    <h2 class="form-signin-heading">Individual Registration</h2>


                </div>

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


                <div class="panel-body">          
                     <?php echo validation_errors('<p class="alert alert-dismissable alert-danger">'); ?>

<?php echo form_open_multipart("auth/save_user", $attributes); ?>

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

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

                    <div class="form-group">           
                        <label for="middle_initial" class="col-sm-3 control-label">Middle Name:</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="middle_initial" id="middle_initial" autocomplete="off" value="<?php echo set_value('middle_initial'); ?>" placeholder="Middle Initial">
                        </div>
                    </div>

                    <div class="form-group">           
                        <label for="last_name" class="col-sm-3 control-label">Last Name:</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="last_name" autocomplete="off" id="last_name" value="<?php echo set_value('last_name'); ?>" placeholder="Last name">
                        </div>
                        <div class="col-xs-1">
                            <span class="error2">*</span>
                        </div>
                    </div>
                    
                    <input type="hidden" class="form-control" name="position" autocomplete="off" id="position" value="<?php echo set_value('position'); ?>" placeholder="city">
                 

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

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

                    <hr>

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

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

                    <hr>

                    <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" name="password" autocomplete="off" id="password" placeholder="Password">
                        </div>
                        <div class="col-xs-1">
                            <span class="error2">*</span>
                        </div>
                    </div>

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

                    <hr>

                    <div class="form-group">           
                        <label for="address" class="col-sm-3 control-label">Address:</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="address" autocomplete="off" id="address" value="<?php echo set_value('address'); ?>" placeholder="Address">
                        </div>
                    </div>

                    <div class="form-group">           
                        <label for="city" class="col-sm-3 control-label">City:</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="city" autocomplete="off" id="city" value="<?php echo set_value('city'); ?>" placeholder="City">
                        </div>
                    </div>

                    <div class="form-group">           
                        <label for="state" class="col-sm-3 control-label">State:</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="state" autocomplete="off" id="state" value="<?php echo set_value('state'); ?>" placeholder="State">
                        </div>
                    </div>

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

                    <hr>

                    <div class="form-group">           
                        <label for="website" class="col-sm-3 control-label">Website:</label>
                        <div class="col-sm-5">
                            <input type="text" class="form-control" name="website" autocomplete="off" id="website" value="<?php echo set_value('website'); ?>" placeholder="Website">
                        </div>
                    </div>

                    <div class="form-group">
                        <label for="biography" class="col-sm-3 control-label">Small Biography:</label>
                        <div class="col-sm-5">
                            <textarea type="text" class="form-control" rows="7" name="biography" autocomplete="off" placeholder="Biography"><?php echo set_value('biography'); ?></textarea>
                        </div>
                    </div>


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

<?php echo form_close(); ?>
                </div>

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