fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove piston, keep just the models.
[wolnelektury.git]
/
src
/
ajaxable
/
templatetags
/
ajaxable_tags.py
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>