]> git.parisson.com Git - teleforma.git/commitdiff
patch other base!
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 23 Jun 2026 17:52:07 +0000 (19:52 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 23 Jun 2026 17:52:07 +0000 (19:52 +0200)
teleforma/templates/telemeta/base.html

index 378acf7f021d135c0a1aa6e32725489fcd61c8fb..632b7d5b1dc9f77e781e075584de5b513363a126 100644 (file)
@@ -168,7 +168,11 @@ alt="logo" />
  </li>
  {% else %}
  <li><a href="{% url telemeta-profile-detail user.username %}" class="darkblue">{% trans "Profile" %}</a></li>
- <li><a href="{% url telemeta-logout %}" class="black">{% trans "Sign out" %}</a></li>
+ <li><form action="{% url 'teleforma-logout' %}" method="post">
+  {% csrf_token %}
+  <button type="submit">{% trans "Sign out" %}</button>
+    </form>
+  </li>
  {% endif %}
 
  {% endif %}