{% load i18n static %}
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Django Debug Toolbar Redirects Panel: {{ status_line }}</title>
    <script{% if toolbar.request.csp_nonce %} nonce="{{ toolbar.request.csp_nonce }}"{% endif %} type="module" src="{% static 'debug_toolbar/js/redirect.js' %}" async></script>
  </head>
  <body>
    <h1>{{ status_line }}</h1>
    <h2>{% trans "Location:" %} <a id="redirect_to" href="{{ redirect_to }}">{{ redirect_to }}</a></h2>
    <p class="notice">
      {% trans "The Django Debug Toolbar has intercepted a redirect to the above URL for debug viewing purposes. You can click the above link to continue with the redirect as normal." %}
    </p>
  </body>
</html>
