> Is there any way to have individual templates for each form

To define, which template should be used for which step, you can
override the get_template(self, step) method of the wizard (it must
return the name of the template), that way you can use separate
templates for certain steps (step numbers).

def get_template(self, step):

    last_step = self.num_steps()-1

    if step == last_step:

        return 'confirm.html'

    elif step == 1:

        return "generic_wizard_step.html"

> and be able to perform the following
>
> 1. control the placement of fields
> 2. Allow for additional text inbetween fields
> 3. Control how check boxes are shown i.e. not one over another but
> side by side.

As for this, yes, this can be done by accessing the inner attributes
(and methods) of the "form" variable, that is passed to the template.
The best way to see it in action is to, actually, check the docs on
the forms (http://docs.djangoproject.com/en/dev/topics/forms/
#customizing-the-form-template). Sorry for not including the example,
but the documentation has those examples a-plenty.

Hope that helped.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to