@extends('layouts.app') @section('page-title', $edit ? __('Update Announcement') : __('New Announcement')) @section('page-heading', $edit ? __('Update Announcement') : __('New Announcement')) @section('breadcrumbs') @stop @section('content') @include('partials.messages')
@csrf @if ($edit) @method('PUT') @endif
{{ $edit ? __('Update Announcement') : __('Create an Announcement') }}
@if (! $edit)
@endif
@stop @section('scripts') {!! JsValidator::formRequest(\Vanguard\Announcements\Http\Requests\AnnouncementRequest::class, '#announcement-form') !!} @stop