Skip to content

Commit

Permalink
More conformant HTML for the "sign in" button.
Browse files Browse the repository at this point in the history
Commit ready for merge.
 - Legacy-Id: 19471
  • Loading branch information
larseggert committed Oct 27, 2021
1 parent 04b78c4 commit 63f1df0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ietf/templates/base.html
Expand Up @@ -76,9 +76,7 @@
</ul>
{% if not user.is_authenticated %}
<p class="navbar-text"></p>
<button type="button" class="btn {% if server_mode and server_mode == "production" %}btn-warning{% else %}btn-default{% endif %} btn-sm navbar-btn">
<a style="color:inherit" rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a>
</button>
<a class="btn {% if server_mode and server_mode == "production" %}btn-warning{% else %}btn-default{% endif %} btn-sm navbar-btn" rel="nofollow" href="/accounts/login/?next={{request.get_full_path|urlencode}}">Sign in</a>
{% endif %}

<form class="navbar-form navbar-right hidden-xs" action="/doc/search/">
Expand Down

0 comments on commit 63f1df0

Please sign in to comment.