{% if field.image and field_val.url is defined %} {% elif field.static %} {{ field_val }} {% else %} {{ field_val }} {% endif %}