Commit 1f9a74197648b0e2ed0913bd277fd2c9b020a10b
1 parent
22967191
Exists in
dev
fixing logout
Showing
1 changed file
with
5 additions
and
6 deletions
Show diff stats
src/core/pyros_django/misc/templates/base.html
... | ... | @@ -387,14 +387,13 @@ footer{ |
387 | 387 | {% endcomment %} |
388 | 388 | |
389 | 389 | <div class="dropdown-divider"></div> |
390 | - <form> | |
391 | - {% csrf_token %} | |
392 | - <form action="{% url "user_logout" %}" method="post"> | |
390 | + <form action="{% url "user_logout" %}" method="post"> | |
391 | + {% csrf_token %} | |
393 | 392 | <button class="dropdown-item" type="submit"> |
393 | + <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i> | |
394 | + Logout | |
395 | + </button> | |
394 | 396 | </form> |
395 | - <i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i> | |
396 | - Logout | |
397 | - </button> | |
398 | 397 | </div> |
399 | 398 | {% else %} |
400 | 399 | <li> <a class="dropwdown-item nav-link" id="signin" href="{% url "user_signin" %}" ><i class="fa fa-power-off"></i> Sign in</a> </li> | ... | ... |