diff options
author | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 19:15:59 +0200 |
---|---|---|
committer | Dusty Phillips <buchuki@gmail.com> | 2008-10-07 19:15:59 +0200 |
commit | 0b96068803b81ea79baaea11b1b29450596c019c (patch) | |
tree | 67b5f709bd91d3f31efff277d16840a59f8fe3c3 /packages/templatetags/package_extras.py | |
parent | 22f22ef66927a09b8eda4d731d5af15e0c42a345 (diff) | |
download | archweb-0b96068803b81ea79baaea11b1b29450596c019c.tar.gz archweb-0b96068803b81ea79baaea11b1b29450596c019c.tar.xz |
replace package search with a nonfunctional newform
Diffstat (limited to 'packages/templatetags/package_extras.py')
-rw-r--r-- | packages/templatetags/package_extras.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py index 5a92565..5644583 100644 --- a/packages/templatetags/package_extras.py +++ b/packages/templatetags/package_extras.py @@ -30,6 +30,10 @@ def do_buildsortqs(parser, token): def space2br(value): return value.replace(' ', '<br />') +@register.inclusion_tag('forms/td_input.html') +def td_input(form_element): + return {'form_element': form_element} + @register.inclusion_tag('errors.html') def print_errors(errors): errs = [] |