From: Jan Szejko Date: Fri, 20 Apr 2018 15:04:01 +0000 (+0200) Subject: fix newsletter field in registration form X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/a6876bf7a05515cc4f16a70324990f11193933c1?ds=inline fix newsletter field in registration form --- diff --git a/src/ajaxable/templatetags/ajaxable_tags.py b/src/ajaxable/templatetags/ajaxable_tags.py index 55059e55b..ec90e4794 100644 --- a/src/ajaxable/templatetags/ajaxable_tags.py +++ b/src/ajaxable/templatetags/ajaxable_tags.py @@ -39,7 +39,7 @@ def pretty_field(field, template=None): @register.filter def pretty_checkbox(field): - return pretty_field(field, template=''' + return pretty_field(field, template=u'''
  • %(errors)s