Is it possible to wrap the form element in a div AND the whole block (label, element, errors etc) in another div using the HtmlTag decorator? I’d like to use Twitter’s Bootstrap with Zend_Form like so:
<div class="clearfix">
<label for="xlInput">X-Large Input</label>
<div class="input">
<input class="xlarge" id="xlInput" name="xlInput" size="30" type="text" />
</div>
</div>
Any ideas?
Try this (untested):
edit: Label was wrong; adjusted.