Click on the image to enlarge.
{% set i = 0 %}
{% for item in gallery %}
{% set i = i + 1 %}
|
|
{{ item.comment }} | {% if canEdit %}
Edit
Delete
{% if item.hidden != 1 %}Hide{% else %}Show{% endif %}
{% if i != 1 %}
|
{% endif %}