Help text was not at the right place.

This commit is contained in:
tonio
2009-10-30 11:33:21 +01:00
parent 3fe149adb0
commit 592c664fdb
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ class DomainForm(forms.ModelForm):
self.fields[f].widget.attrs['size'] = 14
class MailboxForm(forms.ModelForm):
quota = forms.IntegerField(label=_("Quota"), required=False)
quota = forms.IntegerField(label=_("Quota"), required=False,
help_text=_("Mailbox quota in MB (default to domain quota if blank)"))
password1 = forms.CharField(label=_("Password"), widget=forms.PasswordInput,
help_text=_("Password used to log in"))
password2 = forms.CharField(label=_("Confirmation"), widget=forms.PasswordInput,
+1 -1
View File
@@ -41,7 +41,7 @@ class Mailbox(models.Model):
help_text=_("Mailbox address (without the @domain.tld part)"))
full_address = models.CharField(max_length=150)
password = models.CharField(_('password'), max_length=100)
quota = models.IntegerField(help_text=_("Mailbox quota in MB (default to domain quota if blank)"))
quota = models.IntegerField()
uid = models.IntegerField()
gid = models.IntegerField()
path = models.CharField(max_length=200)