While I was writing this post I found the answer myself.
If you use a default login form (that was my case), you need to find the form that is being used by default. LoginForm is in allauth/acoount/forms.py. There the fields password
and remember
are explicitly defined, and the field login
is added within the __init__
method.
So, in my case it would result:
{{ form.login.errors }}
<div class="login">{{ form.login|html_placeholder:"Email" }}</div>
{{ form.password.errors }}
<div class="fieldWrapper">{{form.password|html_placeholder:"password" }}</div>