@php $userInfo = $instructor?->userable ?? null; $locale = $locale ?? app()->getLocale(); $translations = $translations ?? []; $designationData = []; if (empty($translations) && $userInfo) { $translations = parse_translation($userInfo, $locale); } if ($userInfo?->designation) { $designationData = parse_translation($userInfo?->designation, $locale); } $translateRoute = 'instructor.translate'; if (isOrganization()) { $translateRoute = 'organization.instructor.translate'; } @endphp
@csrf @if (isset($instructor) && !empty($instructor)) @method('PUT') @endif @if (isOrganization()) @endif
@if (is_active($translateRoute) !== 'active')
@endif @if (is_active($translateRoute) !== 'active')
@endif @if (!isset($instructor) && is_active($translateRoute) !== 'active')
@endif
@if (is_active($translateRoute) !== 'active')
@if (isset($instructor))

{{ translate('Change Password') }}

@endif

{{ translate('Profile Image') }}({{ translate('200') }}x{{ translate('200') }})

@if (isset($instructor) && fileExists($folder = 'lms/instructors', $fileName = $userInfo?->profile_img) == true && $userInfo?->profile_img !== '')
@endif
@if (isset($instructor) && fileExists('lms/instructors', $fileName = $userInfo?->cover_photo) == true && $userInfo?->cover_photo !== '')
@endif
@endif