



		
<div class="row">
	<div class="col-md-12">
		<div class="panel panel-primary" data-collapsed="0">
        	<div class="panel-heading">
            	<div class="panel-title" >
            		<i class="entypo-plus-circled"></i>
				Signup form
            	</div>
            </div>
			<div class="panel-body">





				<?PHP
				echo $this->session->flashdata('signupmsg'); 
		
                 echo form_open('signupmsg' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>
					
  <div class="form-group">

    <label for="inputEmail3" class="col-sm-2 control-label">Last Name</label>
    <div class="col-sm-10">
		  		<input type="text" name="lastname" value="<?php echo set_value('lastname'); ?>"id="lastname" class="form-control" required placeholder="Enter your surname">
     <span class="text-danger"><?php echo form_error('lastname'); ?></span>
   </div>
  </div>
    <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">Other Names</label>
    <div class="col-sm-10">
		<input type="text" name="firstname" value="<?php echo set_value('firstname') ;?>" id="firstname" class="form-control" required placeholder="Enter your other names">
       <span class="text-danger"><?php echo form_error('firstname'); ?></span>
   </div>
  </div>
    <div class="form-group">
    <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
    <div class="col-sm-10">
				<input type="email" name="email" value="<?php echo set_value('email') ;?>" id="exampleInputEmail" class="form-control" required placeholder="Enter Your email">
    <span class="text-danger"><?php echo form_error('email'); ?></span>
	</div>
  </div>
  <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">Password</label>
    <div class="col-sm-10">
				<input type="password" name="password" value="<?php echo set_value('password'); ?>" id="password" class="form-control" required placeholder="Enter Your password">
        <span class="text-danger"><?php echo form_error('password'); ?></span>
	</div>
  </div>
   <div class="form-group">
    <label for="inputPassword3" class="col-sm-2 control-label">Confirm </label>
    <div class="col-sm-10">
				<input type="password" name="cpassword" value="<?php echo set_value('cpassword'); ?>" id="password" class="form-control" required placeholder="Confirm your password">
    <span class="text-danger"><?php echo form_error('cpassword'); ?></span>
   </div>
  </div>
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <div class="checkbox">
        <label>
          <input type="checkbox">Remember me
        </label>
      </div>
	       <button type="submit" name="btn_signup"value="signup" class="btn btn-primary">Click to Sign up</button>

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



