Add some html to Zend Forms
问题 Im looking for a simple bit of code that will let me add the following html into my zend form: <div id=\"wmd-button-bar\" class=\"wmd-panel\"></div> Thats it, it needs to be above my \'method\' element in the form but thats it. For such a simple action I cant find any methods that don\'t involve me learning rocket science (i.e Zend Decorators). 回答1: The only way I can think of at the moment is to add a dummy element to the form and remove all decorators except an 'HtmlTag' with the attributes