Commit 813d5add authored by Mario Chirinos's avatar Mario Chirinos

logout

parent 14fcf74d
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
<a href="{% url 'settings-profile' %}" class="btn btn-default btn-flat">Settings</a> <a href="{% url 'settings-profile' %}" class="btn btn-default btn-flat">Settings</a>
</div> </div>
<div class="pull-right"> <div class="pull-right">
<a href="{% url 'logout'%}?next={{request.path}}" class="btn btn-default btn-flat">Sign out</a> <!-- <a href="{% url 'logout'%}?next={{request.path}}" class="btn btn-default btn-flat">Sign out</a>-->
<form action="{% url 'logout' %}" method="post" class="btn btn-default btn-flat"> <form action="{% url 'logout' %}" method="post" >
{% csrf_token %} {% csrf_token %}
<button type="submit">Log out</button> <button type="submit" class="btn btn-default btn-flat" >Log out</button>
</form> </form>
</div> </div>
......
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