Skip to content

Commit 0486004

Browse files
committed
Merge branch 'develop'
2 parents d2ffa02 + a7d0700 commit 0486004

File tree

1 file changed

+9
-5
lines changed
  • django_ledger/templates/django_ledger/includes

1 file changed

+9
-5
lines changed

django_ledger/templates/django_ledger/includes/nav.html

+9-5
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,15 @@
2828
<div class="navbar-item">CE TO: {{ tx_digest_context.IO_RESULT.ce_to_date | date }}</div>
2929
{% endif %}
3030
<div class="navbar-item">
31-
<a href="{% url 'django_ledger:logout' %}"
32-
id="djl-el=logout-button-nav"
33-
class="button is-small is-danger is-outlined">
34-
{% trans 'Logout' %}
35-
</a>
31+
<form action="{% url 'django_ledger:logout' %}" method="POST">
32+
{% csrf_token %}
33+
<button
34+
id="djl-el=logout-button-nav"
35+
class="button is-small is-danger is-outlined"
36+
type="submit">
37+
{% trans 'Logout' %}
38+
</button>
39+
</form>
3640
</div>
3741
<div class="navbar-item">{% feedback_button %}</div>
3842
<div class="navbar-item">v{% current_version %}</div>

0 commit comments

Comments
 (0)