X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/967eed676fc83d15b26149047f353ac61faa8217..6592ad610dc42a6242b5d5446addfb7a1feb01e0:/src/ajaxable/templatetags/ajaxable_tags.py diff --git a/src/ajaxable/templatetags/ajaxable_tags.py b/src/ajaxable/templatetags/ajaxable_tags.py index d327e2eb6..940648143 100644 --- a/src/ajaxable/templatetags/ajaxable_tags.py +++ b/src/ajaxable/templatetags/ajaxable_tags.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # @@ -23,7 +22,7 @@ def placeholdized_ul(form): @register.filter def pretty_field(field, template=None): if template is None: - template = u''' + template = '''
  • %(errors)s @@ -39,7 +38,7 @@ def pretty_field(field, template=None): @register.filter def pretty_checkbox(field): - return pretty_field(field, template=u''' + return pretty_field(field, template='''
  • %(errors)s