{% if value %}
{% if content_type == 'application/pdf' %} {% else %} {% endif %}
{% endif %}