Hi,
I had a form that had other theme-wrappers besides 'form', but these were stripped by bundling them together in a Multiform.
This is because Multiform simply does $current_form['#theme_wrappers'] = array('container');, instead of just replacing the 'form'-wrapper with the 'container'-wrapper.
Attached is a patch that uses array_search to perserve non-'form' theme-wrappers, while still changing the 'form' theme-wrapper to 'container'.
Kind regards
Morten
| Comment | File | Size | Author |
|---|---|---|---|
| multiform-preserve-theme-wrappers.patch | 812 bytes | fangel |
Comments
Comment #1
mglamanApplies clean and ensures theme wrappers are kept in place.
Comment #3
joseph.olstadfixed in release 7.x-1.3