<div class="col-lg-10 col-lg-offset-1">
	<section class="panel">
		<header class="panel-heading" style="min-height:50px">
			<div class="col-lg-3"> <span> &nbsp; </span> </div>
			<div class="col-lg-6">
				<h4 class="text-center"> <b> <?php echo $view_type;?> Service</b></h4>
			</div> 
			<div class="col-lg-3"><span> &nbsp; </span></div>
		</header>
		<div class="clear"></div>
		<div class="panel-body">
			<form class="form-horizontal"method="post" action="<?php echo base_url();?>icd/Admin_icd_common_ctrl/insert_services/<?php echo $isl_m_type;?>/<?php if(isset($isl_data['isl_id'])){ echo $isl_data['isl_id'];}?>">
				<div class="col-lg-12">
					
					<div class="form-group col-md-10">
						<label class="col-lg-4 col-sm-4">Service Name</label>
						<div class="col-lg-8">
							<input type="text" class="form-control" name="isl_name" value="<?php if(isset($isl_data['isl_name'])){ echo $isl_data['isl_name'];}?>" required>
						</div>
					</div>			
					<div class="form-group col-md-2">
						<div class="col-lg-offset-10 col-lg-2">
                            <button type="submit" class="btn btn-success pull-right">Save</button>
                        </div>
					</div>
				</div>
				
			</form>
		</div>
	</section>
</div>

<div class="col-lg-10 col-lg-offset-1">
	<section class="panel">
		<header class="panel-heading">
			<h4 class="text-center"><b>Service List</b></h4>
		</header>
		<div class="panel-body">
			<section id="unseen">
				<table class="table table-bordered table-striped table-condensed">
					<thead>
						<tr>
							<th> Service Name</th>
							<th>Operation</th>
						</tr>
					</thead>
					<tbody>
						<?php
							foreach($isl_list as $isl_row){
						?>
								<tr>
									<td> <?php echo $isl_row['isl_name'];?> </td>
									<td>
										<a href="<?php echo base_url();?>icd/Admin_icd_common_ctrl/icd_service_list/<?php echo $isl_row['isl_type'];?>/<?php echo $isl_row['isl_id'];?>" class="btn btn-success fa fa-edit"></a>
										
										<a href="" class="btn btn-danger fa fa-times"></a>
										
									</td>
								</tr>
						<?php
							}
						?>
					</tbody>
				</table>
			</section>
		</div>
	</section>
</div>