         class="align-middle icon {% if template.doc_type.extension == "docx" %}word-icon{% else %}pptx-icon{% endif %}"></td>
          <td class="align-middle text-left"><a class="clickable"
                                                href="{% url 'reporting:template_detail' template.id %}">{{ template.name }}</a>
          </td>
          <td class="align-middle text-left">{% if template.landscape %}Landscsape{% else %}Portrait{% endif %}</td>
          <td class="align-middle text-left">
           