Skip to content

Commit

Permalink
fix: Make the logout button appear like a link
Browse files Browse the repository at this point in the history
  • Loading branch information
lfavole committed Oct 12, 2024
1 parent acf2a63 commit 5024ae7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/templates/account/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>{% trans "Manage account" %}</h1>
<li>
<form method="post" action="{% url "account_logout" %}" class="logout-form">
{% csrf_token %}
<input type="submit" value="{% trans "Log out" %}">
<input type="submit" class="link" value="{% trans "Log out" %}">
</form>
</li>

Expand Down
2 changes: 1 addition & 1 deletion website/templates/website/site_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<a href="{% url "account_index" %}">{% trans "Account" %}</a>
<form method="post" action="{% url "account_logout" %}" class="logout-form">
{% csrf_token %}
<input type="submit" value="{% trans "Log out" %}">
<input type="submit" class="link" value="{% trans "Log out" %}">
</form>
{% else %}
<a href="{% url "account_login" %}">{% trans "Log in" %}</a>
Expand Down

0 comments on commit 5024ae7

Please sign in to comment.