fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4193d
)
fix newsletter field in registration form
author
Jan Szejko
<janek37@gmail.com>
Fri, 20 Apr 2018 15:04:01 +0000
(17:04 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Fri, 20 Apr 2018 15:04:01 +0000
(17:04 +0200)
src/ajaxable/templatetags/ajaxable_tags.py
patch
|
blob
|
history
diff --git
a/src/ajaxable/templatetags/ajaxable_tags.py
b/src/ajaxable/templatetags/ajaxable_tags.py
index
55059e5
..
ec90e47
100644
(file)
--- 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
'''
<li class="checkbox">
<span class="error">%(errors)s</span>
<label class="nohide">%(input)s<span class="label"> %(label)s</span></label>