Commit bf4d5a84 authored by Mario Chirinos's avatar Mario Chirinos

logout

parent 5434a7cb
......@@ -61,11 +61,6 @@
<li class="divider"></li>
<li>
<a href="{% url 'logout-view'%}?next={{request.path}}"><i class="fa fa-sign-out fa-fw"></i> Logout</a>
<form action="{% url 'logout' %}" method="post">
{% csrf_token %}
<button type="submit">Log out</button>
</form>
</li>
</ul>
<!-- /.dropdown-user -->
......
......@@ -38,6 +38,11 @@
</div>
<div class="pull-right">
<a href="{% url 'logout'%}?next={{request.path}}" class="btn btn-default btn-flat">Sign out</a>
<form action="{% url 'logout' %}" method="post">
{% csrf_token %}
<button type="submit">Log out</button>
</form>
</div>
</li>
</ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment