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

{% block extra_style %}{{ block.super }}
{% if not err %}
    {% include 'snippets/spreadsheet_convert_style.html' %}
{% endif %}
{% endblock %}

{% block file_view %}
{% if not err %}
    {% include 'snippets/spreadsheet_convert_html.html' %}
{% endif %}
{% endblock %}

{% block extra_script %}{{ block.super }}
{% if not err %}
<script>
    {% include 'snippets/spreadsheet_convert_js.html' %}
</script>
{% endif %}
{% endblock %}
