summaryrefslogtreecommitdiffstats
path: root/packages/templatetags
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-10-07 13:15:59 -0400
committerDusty Phillips <buchuki@gmail.com>2008-10-07 13:15:59 -0400
commit0b96068803b81ea79baaea11b1b29450596c019c (patch)
tree67b5f709bd91d3f31efff277d16840a59f8fe3c3 /packages/templatetags
parent22f22ef66927a09b8eda4d731d5af15e0c42a345 (diff)
downloadarchweb-0b96068803b81ea79baaea11b1b29450596c019c.tar.gz
archweb-0b96068803b81ea79baaea11b1b29450596c019c.zip
replace package search with a nonfunctional newform
Diffstat (limited to 'packages/templatetags')
-rw-r--r--packages/templatetags/package_extras.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/templatetags/package_extras.py b/packages/templatetags/package_extras.py
index 5a92565c..56445832 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 = []