foto petani
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
<div class=" d-flex align-items-center flex-column">
|
<div class=" d-flex align-items-center flex-column">
|
||||||
<img id="fotoPreview"
|
<img id="fotoPreview"
|
||||||
class="img-fluid rounded mb-4"
|
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"
|
height="120" width="120"
|
||||||
alt="Foto profil petani"
|
alt="Foto profil petani"
|
||||||
data-bs-toggle="tooltip" data-bs-placement="top"
|
data-bs-toggle="tooltip" data-bs-placement="top"
|
||||||
|
|||||||
Reference in New Issue
Block a user