<?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'=>$nomination_doc->general_election,'nomination_docs'=>$nomination_docs], \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_ward->nomination_doc)); ?>">Nomination wards</a></li>
						<li class="breadcrumb-item active" aria-current="page">Nomination ward documents</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 $__currentLoopData = $wardwise_documents; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $wardwise_doc): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
									  <div class="col">
										<div class="card h-100">
										
										  <?php if($wardwise_doc->file_ext=='pdf'): ?>											 
												<img src="<?php echo e(asset('build/assets/images/pdf.png')); ?>" class="card-img-top pointer" alt="..." height="200px;" onclick="location.href='<?php echo e(route('nomination_wards.wardwise_document_view',['id'=>$wardwise_doc->id])); ?>'">
										  <?php else: ?>
												<img src="<?php echo e(asset('build/assets/images/image.png')); ?>" class="card-img-top pointer" alt="..." height="200px;" onclick="location.href='<?php echo e(route('nomination_wards.wardwise_document_view',['id'=>$wardwise_doc->id])); ?>'">
										  <?php endif; ?>	
										  <div class="card-footer">
											<small class="text-body-secondary d-flex justify-content-end">
												<a href="<?php echo e(asset('storage/' . $wardwise_doc->filepath)); ?>" class="btn btn-sm btn-primary" download>
													<i class="fa fa-download"></i>
												</a>											
											</small>
										  </div> 
										</div>
									  </div>					  
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
								</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_documents.blade.php ENDPATH**/ ?>