X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/a6db1ef5159ff618a9d1a78ff14fd705a106c130..8139f82c719f4a041b18fd445026b8cf78aca4a6:/apps/ajaxable/templatetags/ajaxable_tags.py diff --git a/apps/ajaxable/templatetags/ajaxable_tags.py b/apps/ajaxable/templatetags/ajaxable_tags.py index 2f9a8c4c8..229047891 100644 --- a/apps/ajaxable/templatetags/ajaxable_tags.py +++ b/apps/ajaxable/templatetags/ajaxable_tags.py @@ -2,6 +2,12 @@ from django import template from ajaxable.utils import placeholdized register = template.Library() + @register.filter def placeholdize(form): return placeholdized(form) + + +@register.filter +def placeholdized_ul(form): + return placeholdized(form).as_ul()