Permalink
Browse files

API CHANGE Using <div> instead of <p> for CheckboxField->FieldHolder()

  • Loading branch information...
1 parent d93bd49 commit b807983d090e9ad8b6873e04b2d5f41a991060a1 @chillu chillu committed Sep 26, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 forms/CheckboxField.php
@@ -51,11 +51,11 @@ function FieldHolder() {
$Type = $this->XML_val('Type');
$extraClass = $this->XML_val('extraClass');
return <<<HTML
-<p id="$Name" class="field $Type $extraClass">
+<div id="$Name" class="field $Type $extraClass">
$Field
<label class="right" for="{$this->id()}">$Title</label>
$messageBlock
-</p>
+</div>
HTML;
}

0 comments on commit b807983

Please sign in to comment.