Permalink
Browse files

Merge branch 'master' of git://github.com/maccesch/cmsplugin-contact

  • Loading branch information...
2 parents 3239d75 + fdfc2dc commit 1101f1c3787bfc0148f08185d5ce1595ae861e69 @Lacrymology committed Sep 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmsplugin_contact/nospam/widgets.py
@@ -27,5 +27,5 @@ def render(self, *args, **kwargs):
class HoneypotWidget(forms.CheckboxInput):
is_hidden = True
def render(self, *args, **kwargs):
- wrapper_html = '<div style="display: none;"><label for="id_accept_terms">' + str(_('Are you a robot?')) + '</label>%s</div>'
+ wrapper_html = '<div style="display: none;"><label for="id_accept_terms">' + unicode(_('Are you a robot?')) + '</label>%s</div>'
return mark_safe(wrapper_html % super(HoneypotWidget, self).render(*args, **kwargs))

0 comments on commit 1101f1c

Please sign in to comment.