<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('the-students') ?></a></li>
      </ol>
    </section>
    <!-- Content Header (Page header) -->
<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('student') ?> <?php echo $this->lang->line('adjustment') ?> </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">الاسم  </label>
                  <input type="text" class="form-control" id="exampleInputEmail1" placeholder="ادخل الاسم " name="name" required autofocus value="<?=$edit['name']?>">
                </div>
                <div class="form-group">
                  <label for="exampleInputPassword1"> القيمة	</label>
                  <input type="text" class="form-control" id="exampleInputPassword1" placeholder=" التليفون" name="valuess" value="<?=$edit['valuess']?>">
                </div>
              
               
              
                 
                   <div class="form-group">
                      <label>النوع</label>
                  <div class="radio">
                
                      <input type="radio" name="active"  value="1"  <?=$edit['checked']['1']?>>
                <label>       مفتوح
                    </label>
                  </div>
                  <div class="radio">
                  
                      <input type="radio" name="active"  value="2" <?=$edit['checked']['2']?>>
                <label> مغلق
                    </label>
                  </div>
                      
                     
                     
                
                </div>   
             <div class="form-group">
                  <label>ملاحظة</label>
                  <textarea class="form-control" rows="3" placeholder="وصف ..." name="note"><?=$edit['note']?></textarea>
                </div>
                  
           
            
              <!-- /.box-body -->

              <div class="box-footer">
                  <button type="submit" class="btn btn-primary" name="submit" value="pl">تعديل</button>
              </div>
            </form>
              </div>
          </div>
          <!-- /.box -->

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