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

This commit is contained in:
Ingo Schommer 2011-09-26 14:50:37 +02:00
parent d93bd49edc
commit b807983d09

View File

@ -51,11 +51,11 @@ class CheckboxField extends FormField {
$Type = $this->XML_val('Type'); $Type = $this->XML_val('Type');
$extraClass = $this->XML_val('extraClass'); $extraClass = $this->XML_val('extraClass');
return <<<HTML return <<<HTML
<p id="$Name" class="field $Type $extraClass"> <div id="$Name" class="field $Type $extraClass">
$Field $Field
<label class="right" for="{$this->id()}">$Title</label> <label class="right" for="{$this->id()}">$Title</label>
$messageBlock $messageBlock
</p> </div>
HTML; HTML;
} }