{% for value in values %} {{ value.value_and_unit }}{% if not forloop.last %}; {% endif %} {% endfor %}