<?php $__env->startSection('content'); ?>

	<div class="container-fluid text-center" style="margin-top:2%;">
	 

	 <div class="d-flex justify-content-center " style="padding:5px;margin-left:30px;margin-right:30px;">
		<div class="col-3"  style="">
			
			<?php echo $__env->make('layouts.left_menu',['general_election'=>$general_election], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
		
			
			</div>


		<!-- accordian end -->

		</div>
		<div class="col-9"  style="border:1px solid lightgrey;margin:5px;border-radius:3px;">
			<ul style="list-style:none; padding: 0; margin: 0;" >
		
				
				<li>	
					<h1 class="text-center p-3 text-info-emphasis"><?php echo e(__('labels.candidates_nomination_letter_and_documents')); ?></h1>
					<div>
					<nav aria-label="breadcrumb">
					  <ol class="breadcrumb">
						<li class="breadcrumb-item"><a href="<?php echo e(url('/')); ?>">Home</a></li>
						<li class="breadcrumb-item"><a href="<?php echo e(route('nomination_wards',$nomination_doc)); ?>">Nomination wards</a></li>
						<li class="breadcrumb-item"><a href="<?php echo e(route('nomination_wards.wardwise_documents',$general_election)); ?>">Nomination ward documents</a></li>
						<li class="breadcrumb-item active" aria-current="page">Nomination ward document display</li>
									 

					 </ol>
					</nav>
					</div>
					<div class="" style="border:1px solid #000;">
						<ul class="list-group list-group-flush"> 	 
							<div class="container text-center p-5">
								<div class="row">
								 <?php if($wardwise_doc->file_ext=='pdf'): ?>
									<div class="ratio ratio-16x9">
									  <iframe src="<?php echo e(asset('storage/' . $wardwise_doc->filepath)); ?>" allowfullscreen></iframe>
									</div>
								  <?php else: ?>
										<img src="<?php echo e(asset('storage/'.$wardwise_doc->filepath)); ?>" class="card-img-top" alt="..." height="100%;">
								  <?php endif; ?>
								</div>
							</div>						  
						</ul>
					</div>			 
				</li>
			</ul> 
			
		</div>

	  </div>
	  
	  
	</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.election_app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\nmc-elections\resources\views/nomination_wards/wardwise_document_view.blade.php ENDPATH**/ ?>