In Python, iteration gives me a named variable:
for cage in cages:
    for animal in cage.animals:
        print("The current cage is",cage)
        print("the current animal is",animal)
In Ractive templates, I don't appear to be able to do this.
{{#cages}}
    {{#animals}}
         The current animal is {{.}} or {{this}},
         but I don't know how to refer to the current cage,
         i.e. the outer loop variable
         I would like to be able to say {{cage}} has an {{animal}}
    {{/animals}}
{{/cages}}
Is there a syntax I'm not aware of?
 
     
     
    