1. Guilherme Gondim
  2. django-contato

Commits

Guilherme Gondim  committed 3b46d7f

Remove label

  • Participants
  • Parent commits 8968933
  • Branches default

Comments (0)

Files changed (1)

File contato/forms.py

View file
 
 class AntiSpamContactForm(ContactForm):
     # fake email input to prevent spam
-    email_ = forms.CharField(required=False, widget=AntiSpamInput)
+    email_ = forms.CharField(label='', required=False, widget=AntiSpamInput)
 
     def clean_email_(self):
         data = self.cleaned_data.get('email_')