     <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
          <h1>
            Channellimo
            <small>Preview</small>
          </h1>
          <ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Forms</a></li>
            <li class="active">Component</li>
          </ol>
        </section>
        
        <section class="content">
        	<div class="col-lg-12">
            <?php echo validation_errors('<div class="error">', '</div>'); ?>
            <?php echo form_open_multipart('admin/component/add');?>
             	<div class="box box-primary col-lg-8">
                	<div class="box-header with-border">
						<h3 class="box-title">FORM ADD</h3>
					</div>
                    
                    <div class="form-group col-lg-8">
                      <label for="carname">Car Name</label>
                        <select class="form-control" name="carname">
                        <?php 
			  			$sql = $this->db->query('SELECT * FROM `tblcar` ORDER BY `fullname`');
			  			foreach ($sql->result() as $car)
			  			{  
			  			?>
             			 <option value="<?php echo $car->id ?>"><?php echo $car->fullname ?></option> 
              			<?php }?>
						</select>
                    </div>
                    
                    
                   
                    <div class="form-group col-lg-8">
					   <label for="name">Name</label>
					   <input id="name" name="name" class="form-control" type="text" placeholder="Enter Name">
					</div>
                    
                    <div class="form-group col-lg-8">
					   <label for="name">Value</label>
					   <input id="value" name="value" class="form-control" type="text" placeholder="Enter Value">
					</div>
                    
                    <div class="form-group col-lg-8">
                    	<label for="status">Status</label>
						<div class="col-lg-12">
                        <input type="radio" name="status" value="1" class="flat-red" checked>
                        Active
                        <input type="radio" name="status" value="0" class="flat-red">
                        Not Active
                        </div> 
                    </div>
                    
                    
                    
                    <div class="form-group col-lg-8">
                     <input type="submit" value="Submit" class="btn btn-primary">
                   
                     <button type="reset" class="btn btn-danger">Reset</button>
                    </div>
                    
                    
                </div>
             </form>
            </div>
        </section>
     </div>
     
