{% extends 'base.html' %}

{% block main_content %}
<div class="text-panel">
  {% if unable_view_file %}
  <img src="{{MEDIA_URL}}img/failed-to-view-file.png" alt="" width="100" />
  <p class="unable-view-file-tip">{{ error_msg }}</p>
  {% else %}
  <p class="error">{{ error_msg }}</p>
  {% endif %}
</div>
{% endblock %}
