class WriteForm(BaseWriteForm):
"""The form for an authenticated user, to compose a message."""
- recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")))
+ # specify help_text only to avoid the possible default 'Enter text to search.' of ajax_select v1.2.5
+ recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")), help_text='')
class Meta(BaseWriteForm.Meta):
fields = ('recipients', 'subject', 'body')
can_overwrite_limits = False
email = forms.EmailField(label=_("Email"))
- recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")), max=1) # one recipient is enough
+ recipients = CommaSeparatedUserField(label=(_("Recipients"), _("Recipient")), help_text='', max=1) # one recipient is enough
class Meta(BaseWriteForm.Meta):
fields = ('email', 'recipients', 'subject', 'body')
class FullReplyForm(BaseReplyForm):
"""The complete reply form."""
if allow_copies:
- recipients = CommaSeparatedUserField(label=(_("Additional recipients"), _("Additional recipient")), required=False)
+ recipients = CommaSeparatedUserField(
+ label=(_("Additional recipients"), _("Additional recipient")), help_text='', required=False)
class Meta(BaseReplyForm.Meta):
fields = (['recipients'] if allow_copies else []) + ['subject', 'body']