@csrf
Bulletin Information
@include('partials.validation-errors', ['displayErrors' => false])
@error('subject')
{{ $message }}
@enderror
@error('body')
{{ $message }}
@enderror
@error('state_id')
{{ $message }}
@enderror

@if($bulletin->attachment) @if(in_array($bulletin->attachment_extension, ['jpg', 'png', 'jpeg', 'gif', 'svg'])) {{ $bulletin->subject }} @elseif(in_array($bulletin->attachment_extension, ['pdf']))

Attachment: Download ({{ $bulletin->attachment }})

@elseif(in_array($bulletin->attachment_extension, ['doc', 'docx']))

Attachment: Download ({{ $bulletin->attachment }})

@endif @else No Attachment @endif @error('attachment')
{{ $message }}
@enderror
{{--
@error('is_published')
{{ $message }}
@enderror
--}}