Here you go:
<form id="login_form" action="{% url create_account_or_login %}"
method="post">
<fieldset>
<legend>Login to your Account</legend>
<ol>
<li>
{{ authentication_form.username.label_tag }}
{{ authentication_form.username }}
{{ authentication_form.username.errors }}
</li>
<li>
{{ authentication_form.password.label_tag }}
{{ authentication_form.password }}
{{ authentication_form.password.errors }}
</li>
{% if authentication_form.errors %}
<li>
{{ authentication_form.errors }}
</li>
{% endif %}
<li>
<input class="submit" type="submit" value="Login" />
</li>
</ol>
</fieldset>
</form>
On Nov 9, 12:01 pm, "Alex Koshelev" <
daeva...@gmail.com> wrote:
> Please show complete template code
>