Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build only one PartialIteration object for loop | Rafael Mendonça França | 2014-07-16 | 1 | -5/+8 |
| | |||||
* | No need to have a file to PartialIteration class | Rafael Mendonça França | 2014-07-16 | 1 | -3/+2 |
| | | | | This class is only used on the PartialRenderer. | ||||
* | Added PartialIteration class used when rendering collections | Joel Junström | 2014-07-16 | 1 | -0/+31 |
The iteration object is available as the local variable "template_name_iteration" when rendering partials with collections. It gives access to the +size+ of the collection beeing iterated over, the current +index+ and two convinicence methods +first?+ and +last?+ "template_name_counter" variable is kept but is deprecated. [Joel Junström + Lucas Uyezu] |