17 lines
348 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Baseball Organisator</title>
</head>
<body>
{% if user.is_authenticated %}
<form method="post" action="{% url 'logout' %}">
{% csrf_token %}
<button type="submit">Log Out</button>
</form>
{% endif %}
{% block content %}
{% endblock %}
</body>
</html>