mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Many updates in this commit: * first work on the webmail plugin, for now only emails listing and folders browsing is supported... * New login form, * New graphical layout (still needing improvments) * code factoring between webmail and quarantine plugins * etc.
8 lines
315 B
Python
8 lines
315 B
Python
from django import forms
|
|
from django.utils.translation import ugettext as _
|
|
|
|
class LoginForm(forms.Form):
|
|
username = forms.CharField(label=_("Username"))
|
|
password = forms.CharField(label=_("Password"), widget=forms.PasswordInput,
|
|
help_text=_("Password used to authenticate"))
|