{% extends "base.html" %}

{% block content %}
  <h2>Directories:</h2>
  <table class="inventory-table">
    <tr>
      <th>Name:</th>
      <th>Size:</th>
      <th>Last modified:</th>
    </tr>
    {% for directory in object_list %}
      <td><a href="{% url 'directory-detail' directory.slug %}">{{ directory.name }}</a></td>
      <td class="meta">{{ file.size|filesizeformat }}</td>
      <td class="meta">{{ file.modified_time|timesince }}</td>
    {% endfor %}
  </table>
{% endblock %}

{% extends "base.html" %}

{% block content %}
  <h2>Directories:</h2>
  <table class="inventory-table">
    <tr>
      <th>Name:</th>
      <th>Size:</th>
      <th>Last modified:</th>
    </tr>
    {% for directory in object_list %}
      <tr>
        <td><a href="{% url 'directory-detail' directory.slug %}">{{ directory.name }}</a></td>
        <td class="meta">{{ file.size|filesizeformat }}</td>
        <td class="meta">{{ file.modified_time|timesince }}</td>
      </tr>
    {% endfor %}
  </table>
{% endblock %}

Add missing tr tag in directory-list
Add missing tr tag in directory-list
