-
-
Save parzibyte/2937a977a33e8847b72e3ef35f87eb77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@php | |
$mostrarPorFila = 3 | |
@endphp | |
{{-- https://parzibyte.me/blog/2019/03/02/blade-laravel-ciclos-condicionales-token-csrf-componentes/ --}} | |
@forelse($articulo->fotos as $foto) | |
{{-- Aquí muestro las fotos --}} | |
@empty | |
<div class="columns"> | |
<div class="column"> | |
<h1 class="is-size-1">No hay fotos</h1> | |
</div> | |
</div> | |
@endforelse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment