I'm adding two div-wrappers around every 3 relationships. However, if the relationships count ends at 5, then I still need to add the ending div tags.
Here is the code -- where "IS_LAST" is what I seem to need to target, How do I target the last relationship called into the loop?
{models}
{if models:count == "1 || 4 || 7"}
<div class="item active" >
<div class="row">
{/if}
<!-- other code in here-->
{if models:count == "1 || 4 || 7" OR models:count == IS_LAST}
</div>
</div>
{/if}
{/models}