


<?php $__env->startSection('main-content'); ?>
<h1 class="h3 mb-4 text-gray-800">Ubah Pengumuman</h1>
<div class="card shadow mb-4">
	<div class="card-body">
		<form action="<?php echo e(route('pengumuman.update', $pengumuman)); ?>" method="POST">
			<?php echo csrf_field(); ?>
			<?php echo method_field('PUT'); ?>
			<div class="form-group">
				<label>Isi Pengumuman</label>
				<textarea name="isi" class="form-control" required><?php echo e($pengumuman->isi); ?></textarea>
			</div>
			<div class="form-group">
				<label>Tanggal</label>
				<input type="date" name="tanggal" class="form-control" value="<?php echo e($pengumuman->tanggal); ?>" required>
			</div>
			<button type="submit" class="btn btn-primary">Simpan</button>
			<a href="<?php echo e(route('pengumuman.index')); ?>" class="btn btn-secondary">Batal</a>
		</form>
	</div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH E:\PROJECT LARAVEL\DISPLAY-INFORMASI-MASJID\resources\views/pengumuman/edit.blade.php ENDPATH**/ ?>