@if (count($module['permissions']))
	<tr>
		<td>{{ $module['name'] }}</td>
		<td class="form-group light">
			<div class="row">
				@foreach ($module['permissions'] as $permission)
					<div class="col-4 overflow-hidden">
						<input type="checkbox" name="permissions[{{ $permission['id'] }}]" class="iCheck" data-skin="square" data-color="blue" value="1" @if (in_array($permission['id'],$role['permissions'])) checked @endif>
						<label class="control-label light">{{ $permission['name'] }}</label>
					</div>
				@endforeach
			</div>
		</td>
	</tr>
@endif