Previous the gap between the label and the matching description in the small element was larger than the gap between the small-element and the label of the next checkbox.
public function getHTML($formName) {
$content = '';
foreach ($this->getChildren() as $element) {
- $content .= $element->getHTML($formName);
+ $content .= '<dd>'.$element->getHTML($formName).'</dd>';
}
return <<<HTML
<small>{$this->getDescription()}</small>
<dl class="wide">
- <dd>{$content}</dd>
+ {$content}
</dl>
</fieldset>
HTML;