{% if len(result) == 0 %} {% include common/text/empty_text.html %} {% end %} {% for item in result %}