All pastes #199863 Raw Edit

Mine

public text v1 · immutable
#199863 ·published 2006-10-12 20:04 UTC
rendered paste body
=== Error output ===

TemplateSyntaxError at /private/marketplaces/fsf/orders/new/
Could not parse the remainder: pretty_name
Request Method: 	GET
Request URL: 	http://nessus:81/private/marketplaces/fsf/orders/new/
Exception Type: 	TemplateSyntaxError
Exception Value: 	Could not parse the remainder: pretty_name
Exception Location: 	/usr/lib/python2.4/site-packages/django/template/__init__.py in __init__, line 543

=== Template line thorowing the error ===

{% fsf_formfield form.customer "Customer"%}


=== Templatetag function ===

@register.inclusion_tag('shared/fsf_formfield.djt')
def fsf_formfield(field, pretty_name):
  context = {'field_id': field.get_id(),
             'pretty_name': pretty_name,
             'form_element': str(field),
             'errors': field.html_error_list()
            }
  return context