@csrf @method('PUT')
noticetype_id==1?'checked':null }} title="Student"> Student
noticetype_id==2?'checked':null }} title="Staff"> Staff
noticetype_id==3?'checked':null }} title="Public"> Public
@error('noticetype_id') {{ $message }} @enderror
@error('title') {{ $message }} @enderror
@error('body') {{ $message }} @enderror
Optional fields
@error('attachement') {{ $message }} @enderror @if ($notice->attachement)
Click here to open attachment @else
No attachement! @endif
@error('image') {{ $message }} @enderror @if ($notice->image)
Click here to open Image @else
No Image! @endif @error('staff_id') {{ $message }} @enderror
@if (Session::has('fmessage'))
{{ Session::get('fmessage') }}
@endif