{% extends 'view_file_base.html' %}
{% load i18n %}
{% load staticfiles %}

{% block extra_script %}{{ block.super }}
{% if not err %}
<script type="text/javascript" src="{{MEDIA_URL}}js/pdf.js"></script>
<script type="text/javascript">
    {% include 'snippets/document_file_viewer.html' %}
</script>
{% endif %}
{% endblock %}
