

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

<div class="row">
	<div class="col-md-8">
		<div class="panel panel-default no-export">
			<div class="panel-heading"><span class="panel-title"><?php echo e(_lang('Languages')); ?></span>
			<a class="btn btn-primary btn-sm pull-right" href="<?php echo e(route('languages.create')); ?>"><?php echo e(_lang('Add New')); ?></a>
			</div>

			<div class="panel-body">
			 <table class="table table-bordered data-table">
				<thead>
				  <tr>
					<th><?php echo e(_lang('Language Name')); ?></th>
					<th><?php echo e(_lang('Edit Translation')); ?></th>
					<th><?php echo e(_lang('Remove')); ?></th>
				  </tr>
				</thead>
				<tbody>
				  
				  <?php $__currentLoopData = get_language_list(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
				  <tr>
					<td class='role_name'><?php echo e(ucwords($language)); ?></td>
					<td>
						<a href="<?php echo e(action('LanguageController@edit', $language)); ?>" class="btn btn-info btn-sm"><?php echo e(_lang('Edit Translation')); ?></a>
					</td>	
					<td>
					    <form action="<?php echo e(action('LanguageController@destroy', $language)); ?>" method="post">
						   <?php echo e(csrf_field()); ?>

						   <input name="_method" type="hidden" value="DELETE">
						   <button class="btn btn-danger btn-sm btn-remove" type="submit"><?php echo e(_lang('Delete')); ?></button>
						</form>
					</td>
				  </tr>
				  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
				</tbody>
			  </table>
			</div>
		</div>
	</div>
</div>

<?php $__env->stopSection(); ?>



<?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\htdocs\hostel\resources\views/backend/administration/language/list.blade.php ENDPATH**/ ?>