GoodCloud/django-zebra — pull request #17 by cro (2012-05-12 03:25:05+00:00)
Title: Make templatetags zebra_card_form and zebra_head_and_stripe_key work in formwizard

zebra_card_form and zebra_head_and_stripe_key need 'form' in the context. However, if a form is being used inside a formwizard, 'form' is not in the context. 'Wizard' is in the context, and 'form' is inside 'wizard.' This small patch checks for the existence of 'form' in 'wizard' and assigns zebra_form to it.