{% with list_objects_length=list_objects|length %} {% for object in list_objects %}
  • {% if list_objects_length > 1 %} {% include "adminsortable/shared/object_rep.html" %} {% else %} {{ object }} {% endif %}
  • {% endfor %} {% endwith %}