mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE Using <div> instead of <p> for CheckboxField->FieldHolder()
This commit is contained in:
parent
d93bd49edc
commit
b807983d09
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user