foto petani
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<div class=" d-flex align-items-center flex-column">
|
||||
<img id="fotoPreview"
|
||||
class="img-fluid rounded mb-4"
|
||||
src="{{ $petani->foto ? asset('storage/' . $petani->foto) : '../../assets/img/avatars/1.png' }}"
|
||||
src="{{ isset($petani) && $petani?->foto ? asset('storage/' . $petani->foto) : '../../assets/img/avatars/1.png' }}"
|
||||
height="120" width="120"
|
||||
alt="Foto profil petani"
|
||||
data-bs-toggle="tooltip" data-bs-placement="top"
|
||||
|
||||
Reference in New Issue
Block a user