Closed Cartisim closed 4 years ago
@Cartisim is the above just pseudocode? Because in the context you have a single dog and are then using dogs
in the template
My Apologies, yes it is pseudo code.
Closing as template kit is not used with Vapor 4 and new behaviour is in LeafKit - if this is still an issue please create an issue on that repo. Thanks!
There is a current potential bug where children in for loops can not be accessed in leaf. Here is an Example.
The Goal is simply to loop through Dogs find a certain dog, then loop through the type of breeds in that dog a list them in the table. So Fito -> Lab, Golden Retriever, Jack Russell Terrier. There seems to be a bug in the framework.
Thanks a bunch guys,
Cole