

<?php $__env->startSection('content'); ?>
<div class="row">
	<div class="col-md-12">
	<div class="panel panel-default">
	<div class="panel-heading title"><?php echo e(_lang('Edit Translation')); ?></div>

	<div class="panel-body">
	  <form method="post" class="validate" autocomplete="off" action="<?php echo e(action('LanguageController@update', $id)); ?>">
		<?php echo e(csrf_field()); ?>

		<input name="_method" type="hidden" value="PATCH">
		
		<?php $__currentLoopData = $language; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
		<div class="col-md-6">
		  <div class="form-group">
			<label class="control-label"><?php echo e(ucwords($key)); ?></label>						
			<input type="text" class="form-control" name="language[<?php echo e(str_replace(' ','_',$key)); ?>]" value="<?php echo e($lang); ?>" required>
		  </div>
		</div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		
		<div class="form-group">
		  <div class="col-md-12">
			<button type="submit" class="btn btn-primary"><?php echo e(_lang('Save Translation')); ?></button>
		  </div>
		</div>
	  </form>
	</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/edit.blade.php ENDPATH**/ ?>