Skip to content

Commit

Permalink
Merge pull request #111 from rcpch/110-password-reset-button-in-user-…
Browse files Browse the repository at this point in the history
…dropdown-non-functional

(small PR) Updates Password Reset link in nav
  • Loading branch information
dc2007git authored Jun 10, 2024
2 parents c56fee6 + c163ad1 commit 6656820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/npda/templates/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<form method="POST" action="{% url 'logout' %}" class="block py-2 pr-4 pl-3 text-gray-700 border-b border-gray-100 hover:border-b-4 hover:border-rcpch_light_blue lg:border-0 lg:hover:text-primary-700 px-0 lg:px-1 py-2 lg:py-2.5 mr-2 text-gray-400 lg:hover:text-rcpch_light_blue hover:bg-rcpch_light_blue hover:text-rcpch_light_blue lg:hover:bg-transparent border-rcpch_light_blue">
<ul class="dropdown-menu absolute hidden text-gray-700 pt-1">
<li><a href="{% url 'two_factor:profile' %}" class="block py-2 pr-4 pl-3 text-gray-700 border-b border-gray-100 hover:border-b-4 hover:border-rcpch_light_blue lg:border-0 lg:hover:text-primary-700 px-0 lg:px-1 py-2 lg:py-2.5 mr-2 text-gray-400 lg:hover:text-rcpch_light_blue hover:bg-rcpch_light_blue hover:text-rcpch_light_blue lg:hover:bg-transparent border-rcpch_light_blue"><small>Two Factor Authentication</small></a></li>
<li><a href="#" class="block py-2 pr-4 pl-3 text-gray-700 border-b border-gray-100 hover:border-b-4 hover:border-rcpch_light_blue lg:border-0 lg:hover:text-primary-700 px-0 lg:px-1 py-2 lg:py-2.5 mr-2 text-gray-400 lg:hover:text-rcpch_light_blue hover:bg-rcpch_light_blue hover:text-rcpch_light_blue lg:hover:bg-transparent border-rcpch_light_blue"><small>Reset Password</small></a></li>
<li><a href="{% url 'password_reset' %}" class="block py-2 pr-4 pl-3 text-gray-700 border-b border-gray-100 hover:border-b-4 hover:border-rcpch_light_blue lg:border-0 lg:hover:text-primary-700 px-0 lg:px-1 py-2 lg:py-2.5 mr-2 text-gray-400 lg:hover:text-rcpch_light_blue hover:bg-rcpch_light_blue hover:text-rcpch_light_blue lg:hover:bg-transparent border-rcpch_light_blue"><small>Reset Password</small></a></li>
<li>{% csrf_token %}<button type="submit" class="block py-2 pr-4 pl-3 text-gray-700 border-b border-gray-100 hover:border-b-4 hover:border-rcpch_light_blue lg:border-0 lg:hover:text-primary-700 px-0 lg:px-1 py-2 lg:py-2.5 mr-2 text-gray-400 lg:hover:text-rcpch_light_blue hover:bg-rcpch_light_blue hover:text-rcpch_light_blue lg:hover:bg-transparent border-rcpch_light_blue"><small>Log out</small></button></li>
</ul>
</form>
Expand Down

0 comments on commit 6656820

Please sign in to comment.