{% extends "Base.html" %}

{% block window-title %}
Playlist - 
{% endblock %}

{% block main-content %}

{% if tracks %}
    {% for track in tracks %}
    <p>{{track}}: {{track.score}}</p>
    {% endfor %}
{% else %}
    <form method="post">
        {% csrf_token %}
        Hoe veel nummers wil je?
        <input type="number" id="count" name="count">
        <input type="submit" value="OK" >
    </form>
{% endif %}

{% endblock %}