<!-- <section class="content-header">
      <h1>
          <br>
      </h1>
    <ol class="breadcrumb" style="right: 10px;">
        <li><a href="<?=base_url('Dashboard/')?>"><i class="fa fa-dashboard"></i><?php echo $this->lang->line('main') ?></a></li>
        <li><a href="<?=base_url('producer/')?>"><?php echo $this->lang->line('products') ?></a></li>
      </ol>
    </section>
 -->    <!-- Content Header (Page header) -->
<div class="kt-content  kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
  
            <!-- begin:: Content Head -->
            <div class="kt-subheader  kt-grid__item" id="kt_subheader">
              <div class="kt-container  kt-container--fluid ">
                <div class="kt-subheader__main">
                  <h3 class="kt-subheader__title"><a href="<?php echo base_url() ?>Dashboard/"><?php echo $this->lang->line('dashboard'); ?></a></h3>
                  <span class="kt-subheader__separator kt-subheader__separator--v"></span>
                  <span class="kt-subheader__desc"><a href="<?=base_url('producer/')?>"><?php echo $this->lang->line('products') ?></a></span>
                </div>
                
              </div>
            </div><div class="row">
        <!-- left column -->
        <div class="col-md-12">
          <!-- general form elements -->
        <div class="box box-primary" style="padding: 20px">
            <div class="box-header with-border">
              <h3 class="box-title"><?php echo $this->lang->line('edit') ?> <?php echo $this->lang->line('products') ?></h3>
            </div>
         
                 <?php if(isset($msg) || validation_errors() !== ''): ?>
            <div class="alert alert-warning alert-dismissible">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                <h4><i class="icon fa-warning"></i> Alert!</h4>
                <?= validation_errors();?>
                <?= isset($msg)? $msg: ''; ?>
            </div>
        <?php endif; ?>   
              
              
           <?php echo form_open_multipart(base_url(''.$thispage.'/edit/'.$edit['id'])); ?>
     
                <div class="form-group">
                  <label for="exampleInputEmail1"><?php echo $this->lang->line('the-name') ?> </label>
                  <input type="text" class="form-control" id="exampleInputEmail1" placeholder="<?php echo $this->lang->line('enter') ?> <?php echo $this->lang->line('the-name') ?>" name="name" required autofocus value="<?=$edit['name']?>">
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1"><?php echo $this->lang->line('the-value') ?></label>
                  <input type="text" class="form-control" id="exampleInputPassword1" placeholder="<?php echo $this->lang->line('the-value') ?>" name="valuess" value="<?=$edit['valuess']?>">
                </div>
              
               
              
                 
                   <div class="form-group">
                      <label><?php echo $this->lang->line('type') ?></label>
                  <div class="radio">
                
                      <input type="radio" name="active"  value="1"  <?=$edit['checked']['1']?>>
                <label>     <?php echo $this->lang->line('open') ?>
                    </label>
                  </div>
                  <div class="radio">
                  
                      <input type="radio" name="active"  value="2" <?=$edit['checked']['2']?>>
                <label><?php echo $this->lang->line('closed') ?>
                    </label>
                  </div>
                
                </div>   
             <div class="form-group">
                  <label><?php echo $this->lang->line('note') ?></label>
                  <textarea class="form-control" rows="3" placeholder="<?php echo $this->lang->line('describe') ?>..." name="note"><?=$edit['note']?></textarea>
                </div>
                  
           
            
              <!-- /.box-body -->

              <div class="box-footer">
                  <button type="submit" class="btn btn-primary" name="submit" value="pl"><?php echo $this->lang->line('modification') ?></button>
              </div>
            </form>
              </div>
          </div>
          <!-- /.box -->

   
        </div>
        <!--/.col (left) -->
        <!-- right column -->
      
        <!--/.col (right) -->
    
