@php $existingGodparents = collect($form)->filter(function($value, $key) { return str_starts_with($key, 'godparentName'); }); $count = $existingGodparents->count() > 0 ? $existingGodparents->count() : 1; @endphp @for($i = 0; $i < $count; $i++)
Si no subís una foto, se mostrará un avatar por defecto en la invitación
@if($i > 0)
@endif
@endfor