BUG Add missing button styles to restore draft action

This commit is contained in:
Luke Edwards 2018-02-07 14:06:21 +13:00
parent 07e70148da
commit 168b899917

View File

@ -2287,7 +2287,8 @@ class SiteTree extends DataObject implements PermissionProvider, i18nEntityProvi
FormAction::create('restore', $title)
->setDescription($description)
->setAttribute('data-to-root', $restoreToRoot)
->setAttribute('data-icon', 'decline')
->addExtraClass('btn-warning font-icon-back-in-time')
->setUseButtonTag(true)
);
}