SyntaxFix
Write A Post
Hire A Developer
Questions
When people say don't put logic in views, they're usually referring to business logic, not rendering logic. In my humble opinion, I think using @foreach in views is perfectly fine.