<?php  $this->load->view('master/common/header.php',$data);
$base_name = $data['base_name'];
?>

    <div class="content">
        
        <!-- Start Content-->
        <div class="container-fluid">
            
            <!-- start page title -->
            <div class="row">
                <div class="col-12">
                    <div class="page-title-box">
                        <div class="page-title-right">
                            <ol class="breadcrumb m-0">
                                <li class="breadcrumb-item"><a href="javascript: void(0);"><?= $base_name;?></a></li>
                                <li class="breadcrumb-item active text-capitalize"><?= $page;?></li>
                            </ol>
                        </div>
                        <h4 class="page-title text-uppercase"><?= $page;?></h4>
                    </div>
                </div>
            </div>     
            <!-- end page title --> 

            <div class="row">
                <div class="col-md-6 col-xl-6">
                    <div class="card-box">
                        <div class="row">
                            <div class="col-sm-12">
                                <form class="form-horizontal" action="<?= base_url('master/action/create');?>" method="post" enctype="multipart/form-data">
                                    <input type="hidden" name="table" value="tbl_color" />
                                    <input type="hidden" name="page" value="color/create" />
                                    
                                    <h4 class="header-title mb-4">Color</h4>
                                    <div class="form-group">
                                        <label for="userName">Color Name <span class="text-danger">*</span></label>
                                        <input type="text" name="color_name" required="" class="form-control" />
                                    </div>
                                    <div class="form-group">
                                        <label for="userName">Color Code <span class="text-danger">*</span></label>
                                        <input type="text" id="default-colorpicker" name="color_code" required="" class="form-control colorpicker-element" />
                                    </div>
                                    
                                    <div class="col-sm-12"><label for="" class="control-label">Status <span>*</span></label></div>
            					        <div class="col-sm-12 mb-2">
                                            <div class="form-group mb-1">
                                                <div class="custom-control custom-radio float-left">
                									<input class="custom-control-input" value="1" type="radio" required id="statusActive" name="status">
                									<label for="statusActive" class="custom-control-label">Active</label>
                								</div>
                								<div class="custom-control custom-radio float-left ml-3">
                									<input class="custom-control-input" value="0" type="radio" required id="statusBlock" name="status">
                									<label for="statusBlock" class="custom-control-label">Block</label>
                								</div>
                                            </div>
            					        </div>
                                    
                                    <div class="form-group text-right">
                                        <a href="<?=base_url('master/color');?>" class="btn btn-dark my-3">Back</a>
                                        <button type="submit" class="btn btn-success my-3">Submit</button>
                                    </div>
                                
                                </form>
					        </div>
					    </div>
					</div>
				</div>
				<!-- /.col-md-6 -->
			</div>
			<!-- /.row -->
		</div>
		<!-- /.container-fluid -->
	</div>
	<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php $this->load->view('master/common/footer.php'); ?>