Can't display email field using django allauth
<p>I have problem that in my login.html file the email field won't be displayed. Here is the html code:</p>

<pre><code>&lt;form method="POST" id="signup_form" action="{% url 'account_login' %}" class="registration-form"&gt;{% csrf_token %}
    &lt;div class="form-group"&gt;
        &lt;!-- &lt;input type="text" name="email" placeholder="Email" class="form-email form-control" id="form-email"&gt; --&gt;
        {{ form.email }}
    &lt;/div&gt;

    &lt;div class="form-group"&gt;
        &lt;!-- &lt;input type="password" name="password" placeholder="Lozinka" class="form-about-yourself form-control" id="form-about-yourself"&gt;&lt;/input&gt; --&gt;
        {{ form.password}}
    &lt;/div&gt;

    {% if redirect_field_value %}
        &lt;input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /&gt;
    {% endif %}

    &lt;a class="button secondaryAction" href="{% url 'account_reset_password' %}"&gt;
        {% trans "Zaboravili ste oznaku?" %}
    &lt;/a&gt;
    &lt;br&gt;

    &lt;button type="submit" class="btn"&gt;Prijavite se&lt;/button&gt;
&lt;/form&gt;
</code></pre>

<p>So the email field wont be displayed, but the passwod field is. Also the password field is displayed but I cannot customize it. Here is how I'm trying to do that:</p>

<pre><code>class AuthenticationForm(forms.ModelForm):
    """
    Login form
    """
    class Meta:
        model = get_user_model()
        fields = ['email', 'password']


    def __init__(self, *args, **kwargs):
        super(AuthenticationForm, self).__init__(*args, **kwargs)

        self.fields['email'].widget = forms.EmailInput(attrs={
            'placeholder': 'Email adresa*',
            'required': True,
            'class': "form-email form-control"
            })

        self.fields['password'].widget = forms.PasswordInput(attrs={
            'placeholder': 'Lozinka*',
            'required': True,
            'class': "form-first-name form-control"
            })
</code></pre>

<p>I am having all of this for my signup page and it works fine. I tried with <em>form.as_p</em> and it works fine, but I want my own style. Thank you for your time.</p>