creo que por ahora voy bien
This commit is contained in:
14
resources/views/partials/recetas_lista.blade.php
Normal file
14
resources/views/partials/recetas_lista.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
@php
|
||||
use Illuminate\Support\Str;
|
||||
@endphp
|
||||
|
||||
@foreach ($recetas as $receta)
|
||||
<div class="bg-white m-2 p-4 rounded-lg shadow">
|
||||
|
||||
<h3 class="text-xl font-semibold mb-2">{{ $receta->title }}</h3>
|
||||
<p class="text-gray-600 mb-4">{{ Str::limit($receta->message, 20, "...") }}</p>
|
||||
<div class="flex justify-between items-center">
|
||||
<span class="text-sm text-gray-500">Ultima Vez Actualizado: {{ $receta->updated_at }} </span>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
Reference in New Issue
Block a user