Skip to content

Commit

Permalink
fix: use proper type=email in login field for autcompletion and bette…
Browse files Browse the repository at this point in the history
…r UX (#1183)
  • Loading branch information
ai authored Mar 12, 2024
1 parent 1550e89 commit 6f4fcd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/html/auth/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="login-service-title">Вход по почте или нику</div>
<div class="login-service-form">
<form action="{% url "email_login" %}" method="post">
<input type="text" name="email_or_login" value="{{ email|default:"" }}" placeholder="[email protected]" class="login-email" required>
<input type="email" name="email_or_login" value="{{ email|default:"" }}" placeholder="[email protected]" class="login-email" required>
{% if goto %}<input type="hidden" name="goto" value="{{ goto }}">{% endif %}
<button type="submit" class="button login-button" style="min-width: 200px;">🤙 Войти</button>
</form>
Expand Down

0 comments on commit 6f4fcd9

Please sign in to comment.