<?php defined('BASEPATH')or exit("NO DIRECT ACCESS iS ALLOWED");?>
 <div class="content-wrapper">
<?php /*?>    <section class="content-header">
      <h1><small>View WorkPackage</small></h1>
      <ol class="breadcrumb">
        <li><?php echo anchor('dashboard','<i class="fa fa-dashboard"></i> Dashboard')?></li>
        <li><?php echo anchor('master/Activity','Activity')?></li>
        <li class="active">View WorkPackage</li>
      </ol>
    </section> <?php */?>
        <section class="content">
          <div class="row">
            <div class="col-xs-12">
              <div class="box">
                <div class="box-header">
                  <!--<h3 class="box-title">Add Products</h3>-->
                  <?php echo form_open('admin/master/chapter/view',['name'=>'chapter_form_view','id'=>'chapter_form_view']);?>
          		  <?php echo form_hidden('my_array',['name'=>'doaction','id'=>'doaction']);?>
                  <?php echo $message;?>
                  <?php /*?><?php echo form_submit(['name'=>'save','value'=>'Save','class'=>'btn btn-default pull-right',
				  'style'=>'margin-left:5px;background-color: #ffffff;']); ?><?php */?>
                  <?php echo anchor('admin/master/chapter/create','<i class="fa fa-fw fa-plus-square"></i> Add chapter',['class'=>'btn btn-default pull-right',
				  'style'=>'margin-left:5px;background-color: #ffffff;']); ?>
                  <?php echo anchor("admin/master/chapter/edit/{$list->id}",'<i class="fa fa-edit"></i> Edit chapter',['class'=>'btn btn-default pull-right',
				  'style'=>'margin-left:5px;background-color: #ffffff;']); ?>  
				  <?php echo anchor('admin/master/chapter','<i class="fa fa-fw fa-arrows"></i> chapter List',['class'=>'btn btn-default pull-right','style'=>'background-color: #ffffff;']); ?>    
                </div><!-- /.box-header -->
                <div class="box-body">
                <hr />
                	<div class="row">
                		<div class="col-md-12">
                    		<div class="form-group">
								<?php echo form_label('Chapter','chapter',['for'=>'chapter']);?><?php echo form_error('chapter'); ?>
                				<?php echo form_input(['name'=>'chapter','class'=>'form-control','id'=>'chapter','placeholder'=>'Enter chapter  here',
                				    'value'=>set_value('chapter',strtoupper($list->chapter)),'disabled'=>'disabled']);?>
                            </div>
                            <div class="form-group">
								<?php echo form_label('Description','description',['for'=>'description']);?><?php echo form_error('description'); ?>
                				<?php echo form_input(['name'=>'description','class'=>'form-control','id'=>'description','placeholder'=>'Enter Description  here',
                				    'value'=>set_value('description',strtoupper($list->description)),'disabled'=>'disabled']);?>
                            </div>
                            <div class="form-group">
								<?php echo form_label('Status','status',['for'=>'status']);?><?php echo form_error('status'); ?>
                				<?php $options=array(''=>'Select Status','1'=>'Active','0'=>'Inactive');  ?>
              					<?php echo form_dropdown('status',$options,set_value('status',$list->status),['class'=>'form-control','disabled'=>'disabled']);?>
                            </div>	                    
                        </div>
                    </div>
                </div>
<hr />
<?php $js=['onClick'=>'return inventory_validate();'];?>
<?php /*?><?php echo form_submit(['name'=>'save','value'=>'Save','class'=>'btn btn-default pull-right','style'=>'margin-left:5px;background-color: #ffffff;']); ?><?php */?>
<?php echo  form_close();?>
</div>
</div>
</div>
</section>
</div>
