fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nicer social auth
[wolnelektury.git]
/
apps
/
ajaxable
/
templatetags
/
ajaxable_tags.py
diff --git a/apps/ajaxable/templatetags/ajaxable_tags.py
b/apps/ajaxable/templatetags/ajaxable_tags.py
new file mode 100644
(file)
index 0000000..
2f9a8c4
--- /dev/null
+++ b/
apps/ajaxable/templatetags/ajaxable_tags.py
@@ -0,0
+1,7
@@
+from django import template
+from ajaxable.utils import placeholdized
+register = template.Library()
+
+@register.filter
+def placeholdize(form):
+ return placeholdized(form)