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" <[EMAIL PROTECTED]> wrote: > Please show complete template code > > On Sun, Nov 9, 2008 at 20:55, Brandon Taylor <[EMAIL PROTECTED]>wrote: > > > > > Hi everyone, > > > I'm leveraging auth and have a login form that uses contrib.auth.forms > > AuthenticationForm. > > > When displaying non-field-specific errors, I get interesting results: > > > #template.html > > # if form.errors > > __all__ > > <ul class="errorlist"> > > <li>Please enter a correct username and password. Note that both > > fields are case-sensitive.</li> > > </ul> > > > Does anyone know how I can get rid of the __all__ ? > > > TIA, > > Brandon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---