title: ZF2 how to wrap content in form fieldset?
body: <p>I have form with fieldsets:</p>
  
  <pre><code>$formConfig = array(
      'fieldsets' =&gt; array(
          ...
      );
  );
  
  $factory = new Zend\Form\Factory();
  $form = $factory-&gt;createForm($formConfig); 
  echo $this-&gt;form($form);
  </code></pre>
  
  <p>It renders something like this:</p>
  
  <pre><code>&lt;form&gt;
      &lt;fieldset&gt;
          &lt;legend&gt;Fieldset label&lt;/legend&gt;
          &lt;label&gt;&lt;span&gt;Elem 1&lt;/span&gt;&lt;input type="text" name="f1[el1]" /&gt;&lt;/label&gt;
          &lt;label&gt;&lt;span&gt;Elem 2&lt;/span&gt;&lt;input type="text" name="f1[el2]" /&gt;&lt;/label&gt;
          &lt;label&gt;&lt;span&gt;Elem 3&lt;/span&gt;&lt;input type="text" name="f1[el3]" /&gt;&lt;/label&gt;
      &lt;/fielset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>The problem is that I need to wrap content after legend:</p>
  
  <pre><code>&lt;form&gt;
      &lt;fieldset&gt;
          &lt;legend&gt;Fieldset label&lt;/legend&gt;
          &lt;div class="wrapper"&gt;
              &lt;label&gt;&lt;span&gt;Elem 1&lt;/span&gt;&lt;input type="text" name="f1[el1]" /&gt;&lt;/label&gt;
              &lt;label&gt;&lt;span&gt;Elem 2&lt;/span&gt;&lt;input type="text" name="f1[el2]" /&gt;&lt;/label&gt;
              &lt;label&gt;&lt;span&gt;Elem 3&lt;/span&gt;&lt;input type="text" name="f1[el3]" /&gt;&lt;/label&gt;
          &lt;div&gt;
      &lt;/fielset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How can I do that?</p>