<html>
<body style="font-family: serif; font-size: 10pt;">
  <h1>{{department}}</h1>

  <table cellpadding=10><tr>
    {% for user in users %}
      <td style="text-align: center;">
        <img src="{{qr_codes_path}}{{user.id}}.png" style="width: 200px">
        <br /><br />
        <small>{{user.name}} {{user.surname}}<br/>
          {{user.username}}
        </small>
      </td>
      {% if loop.index % 2 == 0 %}
      </tr><tr>
      {% endif %}
    {% endfor %}
  </tr></table>
</body>
</html>
