Skip to content

Commit d2bc8a7

Browse files
Use submit-link as classname
1 parent c4c50dd commit d2bc8a7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{% load i18n %}
2-
32
{% comment %}
43
The logout_url is required for the form action. It is passed in from the view
5-
that renders this template. If the logout_url is not provided, the form will
4+
that renders this template. If the logout_url is not provided, the form will
65
submit to the current URL, which may not be the intended behavior.
76
{% endcomment %}
8-
97
{% if logout_url %}
108
<form action="{{ logout_url }}" method="post">
119
{% csrf_token %}
12-
<input class="secondary" type="submit" value="{{ logout_label|default:_("Sign out") }}" />
10+
<input
11+
class="submit-link"
12+
type="submit"
13+
value="{{ logout_label|default:_("Sign out") }}"
14+
/>
1315
</form>
14-
{% endif %}
16+
{% endif %}

0 commit comments

Comments
 (0)