Skip to content

Commit 9e492de

Browse files
Use button in logout-form
1 parent c012bb0 commit 9e492de

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/hidp/hidp/templates/hidp/includes/forms/logout_form.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
{% if logout_url %}
88
<form action="{{ logout_url }}" method="post">
99
{% csrf_token %}
10-
<input
10+
<button
1111
class="submit-link"
12-
type="submit"
13-
value="{{ logout_label|default:_("Sign out") }}"
14-
/>
12+
type="submit">
13+
{{ logout_label|default:_("Sign out") }}
14+
</button>
1515
</form>
1616
{% endif %}

0 commit comments

Comments
 (0)