title: Zend Framework Zend_Form Decorators: <span> Inside Button Element?
body: <p>I have a button element that I've created like so:</p>
  
  <pre><code>$submit = new Zend_Form_Element_Button('submit');
  $submit-&gt;setLabel('My Button');
  $submit-&gt;setDecorators(array(
      'ViewHelper',
       array('HtmlTag', array('tag' =&gt; 'li'))
  ));
  $submit-&gt;setAttrib('type', 'submit');
  </code></pre>
  
  <p>This generates the following HTML:</p>
  
  <pre><code>&lt;li&gt;
      &lt;label for="submit" class="optional"&gt;My Button&lt;/label&gt; 
      &lt;button name="submit" id="submit" type="submit"&gt;My Button&lt;/button&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>I would like to wrap the inside of the button with a &lt;span>, like this:</p>
  
  <pre><code>&lt;button...&gt;&lt;span&gt;My Button&lt;/span&gt;&lt;/button&gt;
  </code></pre>
  
  <p>What is the best way to do this using Zend_Form?</p>