fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
04d0cec
)
fix stupid unicode error
author
Jan Szejko
<janek37@gmail.com>
Thu, 24 May 2018 15:08:21 +0000
(17:08 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Thu, 24 May 2018 15:08:21 +0000
(17:08 +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
9af58e9
..
31897d1
100644
(file)
--- a/
src/ajaxable/templatetags/ajaxable_tags.py
+++ b/
src/ajaxable/templatetags/ajaxable_tags.py
@@
-23,7
+23,7
@@
def placeholdized_ul(form):
@register.filter
def pretty_field(field, template=None):
if template is None:
@register.filter
def pretty_field(field, template=None):
if template is None:
- template = '''
+ template =
u
'''
<li>
<span class="error">%(errors)s</span>
<label class="nohide"><span class="label">%(label)s: </span>%(input)s</label>
<li>
<span class="error">%(errors)s</span>
<label class="nohide"><span class="label">%(label)s: </span>%(input)s</label>