mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
13 lines
373 B
Python
13 lines
373 B
Python
from django import forms
|
|
from django.utils.translation import ugettext_lazy 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"})
|
|
)
|