mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
This commit adds the following features: * Folder creation, * Folder modification, * Folder removal. There are still issues with subfolders but they should not be too complicated to fix. I've also done some javascript refactoring.
12 lines
429 B
Python
12 lines
429 B
Python
from django import forms
|
|
from django.utils.translation import ugettext as _
|
|
|
|
class ComposeMailForm(forms.Form):
|
|
from_ = forms.CharField(label=_("From"))
|
|
to = forms.CharField(label=_("To"), widget=forms.Textarea())
|
|
cc = forms.CharField(label=_("Cc"), widget=forms.Textarea(), required=False)
|
|
subject = forms.CharField(label=_("Subject"), max_length=255)
|
|
|
|
class FolderForm(forms.Form):
|
|
name = forms.CharField()
|