We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d10638b commit d50cea7Copy full SHA for d50cea7
1 file changed
controller/web/templates/web/account.html
@@ -19,15 +19,10 @@ <h3>
19
{{ user.email }}
20
</div>
21
22
- <form method="post" action="{% url 'rest_framework:logout' %}">
23
- {% csrf_token %}
24
- {% if redirect_field_value %}
25
- <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/>
26
- {% endif %}
27
- <button type="submit" class="btn btn-link">{% trans 'Log Out' %}</button>
+ <div class="row-fluid">
28
{% if user.is_staff %}
29
<a href="{% url 'admin:index' %}" class="btn btn-link">Admin</a>
30
{% endif %}
31
- </form>
+ </div>
32
33
{% endblock %}
0 commit comments