{% extends "layout.html" %}

{% block head %}
<link rel="stylesheet" href="{{ url_for('.static', filename='css/series.css') }}" type="text/css" media="screen"/>
{% endblock %}

{% block main %}
<h2>Forget {{ release.episode.series.name|title }} {{ release.episode.identifier }}?</h2>
<p>
    This will clear all records of this episode from the database.<br />
    This operation will forget this episode:
    <h4>{{ release.episode.series.name|title }} {{ release.episode.identifier }}</h4>
    <br />
    and these releases:
    <br />
    <br />
    <ul class="releases">
        {% for release in release.episode.releases %}
            <li class="{% if release.downloaded %}downloaded{% endif %}">
                {{ release.title }}
            </li>
        {% endfor %}
    </ul>
    <br />
</p>

<form action="/series/forget/{{ release.id }}" method="post">
    <input type="submit" name="really" value="Forget" /> <input type="submit" value="Cancel" /> 
    &nbsp;&nbsp;&nbsp;<span style="color:#999;font-size:10px;">Command: <span style="font-family: Courier">{{ command }}</span></span></p>
</form>
{% endblock %}
