Code layout change.
[wolnelektury.git] / src / ajaxable / templatetags / ajaxable_tags.py
1 # -*- coding: utf-8 -*-
2 # This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4 #
5 from django import template
6 from ajaxable.utils import placeholdized
7 register = template.Library()
8
9
10 @register.filter
11 def placeholdize(form):
12     return placeholdized(form)
13
14
15 @register.filter
16 def placeholdized_ul(form):
17     return placeholdized(form).as_ul()