mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
* Always display the username into the 'identities' listing * Fixed a little mistake into the autocompleter plugin see #204
14 lines
422 B
Python
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")
|
|
)
|