Files
modoboa/auth/forms.py
T
Antoine Nguyen e113a7cb82 * Fixed wrong CSS into the login page (on resize)
* Always display the username into the 'identities' listing
* Fixed a little mistake into the autocompleter plugin

see #204
2012-04-12 10:42:48 +02:00

14 lines
422 B
Python

from django import forms
from django.utils.translation import ugettext as _
class LoginForm(forms.Form):
username = forms.CharField(
label=_("Username"),
widget=forms.TextInput(attrs={"class" : "span3"})
)
password = forms.CharField(
label=_("Password"),
widget=forms.PasswordInput(attrs={"class" : "span3"}),
help_text=_("Password used to authenticate")
)