logout.html 372 B

123456789101112131415161718
  1. {% extends '_base.html' %}
  2. {% load crispy_forms_tags %}
  3. {% block title %}Log out{% endblock %}
  4. {% block content %}
  5. <h1>Sign Out</h1>
  6. <p>Are you sure you want to sign out?</p>
  7. <form method="post" action="{% url 'account_logout' %}">
  8. {% csrf_token %}
  9. {{ form|crispy }}
  10. <button class="btn btn-danger" type="submit">Sign Out</button>
  11. </form>
  12. {% endblock content %}