

<?php $__env->startSection('content'); ?>
<main>
   <div class="container">
      <h2>Edit Announcement</h2>
      <form id="announcementForm" action="<?php echo e(route('announcement.update', $announcement->id)); ?>" method="POST">
         <?php echo csrf_field(); ?>
         <?php echo method_field('PUT'); ?>
         <div class="form-group">
            <label for="title">Title:</label>
            <input type="text" class="form-control" id="title" name="title" value="<?php echo e($announcement->title); ?>" required>
         </div>
         <div class="form-group">
            <label for="announcement">Announcement:</label>
            <textarea class="form-control" id="announcement" name="announcement" rows="6" required><?php echo e($announcement->announcement); ?></textarea>
         </div>
         <button type="submit" class="btn btn-primary">Update</button>
      </form>
   </div>
</main>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\Users\91638\VB150\VB150\resources\views/announcement/edit.blade.php ENDPATH**/ ?>