mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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');
|
||||
$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;
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user