Commit 5434a7cb authored by Mario Chirinos's avatar Mario Chirinos

logout

parent bce4382a
...@@ -61,6 +61,11 @@ ...@@ -61,6 +61,11 @@
<li class="divider"></li> <li class="divider"></li>
<li> <li>
<a href="{% url 'logout-view'%}?next={{request.path}}"><i class="fa fa-sign-out fa-fw"></i> Logout</a> <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> </li>
</ul> </ul>
<!-- /.dropdown-user --> <!-- /.dropdown-user -->
......
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