Skip to content

Commit

Permalink
fix: correction du lien de déconnexion mobile
Browse files Browse the repository at this point in the history
Nécessaire depuis le retour à un GET à la place d'un POST HTMX.
Est cohérent avec le lien de déconnexion pour écran large.
  • Loading branch information
sblondon committed Feb 13, 2025
1 parent a67a654 commit 9760add
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions impact/templates/snippets/entete_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,7 @@
<ul id="account-mobile" class="fr-menu__list">
<li><a class="fr-nav__link" href="{% absolute_url 'users:account' %}" target="_self"><span class="fr-icon-account-circle-fill fr-mr-1w" aria-hidden="true"></span> Mon compte</a></li>
<li>
<form>
{% csrf_token %}
<a class="fr-nav__link" href="#" hx-post="{% absolute_url 'users:logout' %}" hx-target="body">
<span class="fr-icon-lock-unlock-fill fr-mr-1w" aria-hidden="true"></span> Se déconnecter</a>
</form>
<a class="fr-nav__link" href="{% absolute_url 'users:logout' %}"><span class="fr-icon-lock-unlock-fill fr-mr-1w" aria-hidden="true"></span> Se déconnecter</a>
</li>
</ul>
<ul class="fr-nav__list">
Expand Down

0 comments on commit 9760add

Please sign in to comment.