@extends('layouts.app') @section('title', 'Edit Notice') @section('breadcrumbs') @endsection @section('content')

Edit Notice

Update this notice's content or settings

@csrf @method('PUT')
{{-- Title --}}
@error('title')

{{ $message }}

@enderror
{{-- Type --}}
@error('type')

{{ $message }}

@enderror
{{-- Content --}}
@error('content')

{{ $message }}

@enderror
{{-- Pin (Company Admin only) --}} @if(auth()->user()->role === 'company_admin')
is_pinned) ? 'checked' : '' }} class="w-4 h-4 rounded border-gray-300 text-primary-600 focus:ring-primary-600/20"> (Pinned notices always appear at the top)
@endif {{-- Schedule / Expiry --}}
{{-- Publish Date --}}
@error('published_at')

{{ $message }}

@enderror
{{-- Expiry Date --}}

Notice will be hidden after this date

@error('expires_at')

{{ $message }}

@enderror
{{-- Footer --}}
Cancel
@endsection