{% if image %} {% for size in image.size_set.get_size_by_ratio() %} {% endfor %} {% endif %}
{{ input|safe }}