@extends('admin.layouts.app') @section('title', 'Detalle de Profesor') @section('page_title', 'Detalle de Profesor') @section('content') @php $photo = trim((string) ($teacher->photo ?? '')); $hasPhotoPath = $photo !== '' && (str_contains($photo, '/') || str_contains($photo, '.')); @endphp