resources.html 804 Bytes
Newer Older
Pili Guerra's avatar
Pili Guerra committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<div class="row pt-5">
  {% include 'sidenav.html' %}
  <div class="col-sm-12 col-xs-12  ml-sm-auto col-md-9 col-lg-9 {{ bag('alternatives', this.alt, 'order') }}">
    {{ this.body }}
    <div class="container py-3">
      <div class="row">
        <table class="table">
          <thead>
            <tr>
              <th scope="col">Title</th>
              <th scope="col">Description</th>
              <th scope="col">Formats</th>
              <th scope="col">Last Updated</th>
            </tr>
          </thead>
          <tbody>
            {% from "macros/resources.html" import render_resource %}
            {% for item in this.attachments %}
              {{ render_resource(item) }}
            {% endfor %}
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>