This project is archived and is in readonly mode.

#836 ✓wontfix

PATCH: assign collection counter local variable in partials based on the :as option

Reported by Tekin | August 15th, 2008 @ 12:12 AM | in 2.x

A simple patch that adds a collection_size local variable to partial collections. Usefully specifically when you want to know if you are rendering the last item in the collection.

Also assigns a counter based on the :as option if it's set.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

Referenced by