{% extends "shared/base.html" %}

{% block title %}
  <title>Video Links</title>
{% endblock %}

{% block content %}
  {% with msg=msg %}
    {% include "components/alerts.html" %}
  {% endwith %}
  <div class="container">
    <table class="table table-hover">
      <thead><tr>
        <th scope="col">Titel</th>
        <th scope="col">Review</th>
        <th scope="col">Download</th>
      </tr></thead>
      <tbody>
        {%  for mediavideo in mediavideos %}
        <tr>
           <th scope="row"><a href="/media/videos/{{mediavideo.id}}">{{mediavideo.title}}</a></th>
           <td>{% with check=mediavideo.review %}{% include "components/check.html" %}{% endwith %}</td>
           <td>{% with check=mediavideo.should_download %}{% include "components/check.html" %}{% endwith %}</td>
        </tr>
        {% endfor %}
      </tbody>
    </table>
  </div>
{% endblock %}
