@php $allowInstructorDeleteContent = !!(!empty(getGeneralOptionsSettings('allow_instructor_delete_content'))); $contentDeleteMethod = (!empty(getGeneralOptionsSettings('content_delete_method'))) ? getGeneralOptionsSettings('content_delete_method') : 'delete_directly'; @endphp @if($allowInstructorDeleteContent) @if($contentDeleteMethod == "delete_directly") {{ trans('public.delete') }} @else {{ trans('public.delete') }} @endif @endif