<!-- page content -->
        <div class="right_col" role="main">
          <div class="">
            <div class="page-title">
                <div class="title_left">
                  
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="row">
              <div class="col-md-12 col-sm-6 col-xs-6">
                <div class="x_panel">
                  <div class="x_title">
                    <h2>Edit Writer</h2>
                    <ul class="nav navbar-right panel_toolbox">
                      <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a></li>
                    </ul>
                    <div class="clearfix"></div>
                  </div>
                  <div class="x_content">
                    <form class="form-horizontal form-label-left" action="<?php echo $base_url; ?>Liberary_definations/edit_writer/<?php echo $id; ?>" method="post" enctype='multipart/form-data'>
                        <input type="hidden" name="writer_id" id="writer_id"/>
                       <div class="item form-group">
                        <label class="control-label col-md-3 col-sm-3 col-xs-12" for="b_head">Name<span class="required">*</span>
                        </label>
                        <?php foreach($w as $val){ ?> 
                        <div class="col-md-6 col-sm-6 col-xs-12">
                          <input id="writer_name" class="form-control col-md-7 col-xs-12" name="writer_name" placeholder="Writer Name...." required type="text" value="<?php echo $val['name'];?>">
                        </div>
                        <?php } ?>
                      </div>
                       
                     <div class="ln_solid"></div>
                      <div class="form-group">
                        <div class="col-md-6 col-md-offset-3">
                          <button id="send" type="submit" class="btn btn-success pull-right">Update</button>
                        </div>
                      </div>
                    </form>
                  </div>
                </div>
              </div>
              </div>
             
              </div>
            
            </div>
          </div>
        </div>
       
        <!-- /page content -->
        
