maraujop/django-crispy-forms — pull request #239 by tepez (2013-09-10 16:54:33+00:00)
Title: template_pack in helper and removing cross references between template packs

* Allow to define a template_pack in a form_helper, which will override `CRISPY_TEMPLATE_PACK`.

* All calls `render()` of a layout element should pass the template pack
* The `template` member of all layout elements should not point to a hard-coded template pack. Even if a layout elements is only relevant to a single template pack, e.g. `MultiField` is only relevant to `uni_form`. This will allow custom template packs to use these layout elements.

* Remove cross references between template packs to make each template pack independent from the others.

* Remove `MultiField` templates from `bootstrap` and `bootstrap3` template packs (it's a `uni_form` template pack)

* Refactor some `uni_form` specific tests out of the general test cases.