@extends('admin.layouts.layout')
@section('title')ویرایش اطلاعیه@endsection

@section('content')
<div class="container-xxl flex-grow-1 container-p-y">

    <div class="d-flex align-items-center justify-content-between mb-4">
        <h4 class="mb-0">ویرایش اطلاعیه</h4>
    </div>

    @if(session('success'))
        <div class="alert alert-success alert-dismissible mb-4">
            {{ session('success') }}<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
        </div>
    @endif

    <form method="POST" action="{{ route('admin.announcements.update', $announcement->slug) }}">
        @method('PUT')
        @include('admin.announcements._form')
    </form>
</div>
@endsection

@section('customjs')
@include('admin.announcements._editor-js')
@endsection
