We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99c5753 commit b4b807cCopy full SHA for b4b807c
1 file changed
templates/base.html
@@ -199,10 +199,13 @@
199
</li>
200
<hr>
201
<li role="presentation">
202
- <a class="dropdown-item" href="{% url 'logout' %}">
203
- <i class="bi-box-arrow-right" aria-hidden="true"></i>
204
- {% translate "LOG_OUT"%}
205
- </a>
+ <form method="post" action="{% url 'logout' %}">
+ {% csrf_token %}
+ <button type="submit" class="dropdown-item">
+ <i class="bi-box-arrow-right" aria-hidden="true"></i>
206
+ {% translate "LOG_OUT"%}
207
+ </button>
208
+ </form>
209
210
</ul>
211
0 commit comments