mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
MINOR Reduced HTML validation errors in CMS
This commit is contained in:
parent
ae0ec6304d
commit
4c8f6e7f4d
@ -1052,9 +1052,9 @@ JS;
|
||||
// new HiddenField("ParentID", false, ($this->parentRecord) ? $this->parentRecord->ID : null),
|
||||
// TODO Should be part of the form attribute, but not possible in current form API
|
||||
$hintsField = new LiteralField('Hints', sprintf('<span class="hints" data-hints="%s"></span>', $this->SiteTreeHints())),
|
||||
$label1 = new LabelField("1", _t('CMSMain.1', '1').$labelTriangle),
|
||||
$label1 = new LabelField("Triangle1", _t('CMSMain.1', '1').$labelTriangle),
|
||||
$parentField = new TreeDropdownField("ParentID", _t('CMSMain.AddFormParentLabel', 'Choose parent'), 'SiteTree'),
|
||||
$label2 = new LabelField("1", _t('CMSMain.2', '2').$labelTriangle),
|
||||
$label2 = new LabelField("Triangle2", _t('CMSMain.2', '2').$labelTriangle),
|
||||
new OptionsetField("PageType", _t('CMSMain.ChoosePageType', 'Choose page type'), $pageTypes, 'Page')
|
||||
);
|
||||
$label1->addExtraClass("numeric-label");
|
||||
|
Loading…
Reference in New Issue
Block a user