@isset($content)

<div class="portlet box primary">
<div class="portlet-title">
<div class="caption"><i class="livicon" data-name="responsive" data-size="16" data-loop="true" data-c="#fff" data-hc="white"></i> Add Disease</div>	
</div>

<div class="portlet-body table-responsive">
			
<table class="table table-striped table-bordered" style="width:100%">

	<thead>
		<tr>
			<th class="align-text-top text-center ">Disease</th>
		@if(isset($param['request_id']))
			<th class="align-text-top text-center">Select All &nbsp; <input id="acces_all_check" type="checkbox"></th>
		@endif	
		</tr>
	</thead>
	<tbody>
	
		@foreach($content as $value)
		
			<tr>
				<td class="text-left">{{$value->disease_name}}</td>
				@if(isset($param['request_id']))
				<td class="text-center">
					<input  id="access_check_{{ $value->disease_id }}" name="disease[]" type="checkbox" value="{{$value->disease_id}}">
				</td>
			@endif	
			</tr>
		
	@endforeach   
	
	@if(isset($param['request_id']))
	<tr>
		<td colspan="2"  class="text-center">
			{{ Form::submit('submit', array('class' => 'btn btn-primary','value' => 'submit' , 'id' => 'btn_submit' , 'name' => 'btn_submit' )) }}
		</td>
	</tr>
	@endif
	
</tbody>		
</table>	

</div>	
</div>							
</div>
</div>
@endisset
