Hi all,
i'm not able to realize a simple for N times loop in VOLT. Has far as i can see there is no WHILE statement and FOR works only with arrays.
Currently i'm using array_fill from the controller to pass an array of N NULL elements to the template to iterate over it but i downvote for this approach. I've also tried something like
{% FOR i in 5 %}
but PHP, obviously, reported: PHP Warning: Invalid argument supplied for foreach()