{% load i18n %} {% comment %} The logout_url is required for the form action. It is passed in from the view that renders this template. If the logout_url is not provided, the form will not be rendered. {% endcomment %} {% if logout_url %}
{% csrf_token %}
{% endif %}