@extends('adminlte::page') @section('content') Edit Notice Home CMS Settings Edit Notice {{-- important: enctype is required for file uploads --}} @csrf Edit notice Title Description {{ old('description', $notice->description) }} Notice File (Image or PDF) Allowed types: jpeg, png, jpg, webp, pdf (max 20MB) @if ($notice->file_path) @if($notice->is_pdf) Current PDF: {{ $notice->file_path }} @else @endif @endif New PDF: Link Start Date & Time End Date & Time Visibility visibility) == 'public' ? 'selected' : '' }}>Public visibility) == 'private' ? 'selected' : '' }}>Private Status status) == '1' ? 'selected' : '' }}>Active status) == '0' ? 'selected' : '' }}>Inactive @stop @section('js') @include('admin.notice.scripts.index') @stop
New PDF: