@extends('Admin.layout') @section('content')
Edit Bug
@csrf
@error('identified_by') {{ $message }} @enderror
@php $files = json_decode($bug->attachment ?? '[]', true); @endphp @if(isset($files[0]) && $files[0] != '') @php $file = $files[0]; $ext = pathinfo($file, PATHINFO_EXTENSION); @endphp @if(in_array(strtolower($ext), ['mp4','mov','avi','webm'])) @else @endif @else

No Attachment

@endif
priority == 'Low' ? 'checked' : '' }}>
priority == 'Medium' ? 'checked' : '' }}>
priority == 'High' ? 'checked' : '' }}>
@endsection