{% extends "base_generic.html" %}

{% block content %}
    <h2 class="tibia-headline">My Characters</h2>
    {%  if players %}
    <ul>
        {% for player in players %}
            <li>{{ player.name }} - Level {{ player.level }} - Vocation: {{ player.vocation }}</li>
        {% endfor %}
    </ul>
    {% else %}
        This account has no characters yet.
    {% endif %}

    <a href="{% url 'accounts:create_char' %}">Create a new character</a>

{% endblock %}