mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
FIX Use correct bootstrap class or GridFieldDetailForm delete button
This commit is contained in:
parent
deec9b411b
commit
c4ff9df1b0
@ -289,7 +289,7 @@ class GridFieldDetailForm_ItemRequest extends RequestHandler
|
||||
if ($canDelete) {
|
||||
$actions->push(FormAction::create('doDelete', _t('SilverStripe\\Forms\\GridField\\GridFieldDetailForm.Delete', 'Delete'))
|
||||
->setUseButtonTag(true)
|
||||
->addExtraClass('btn-danger-outline btn-hide-outline font-icon-trash-bin action-delete'));
|
||||
->addExtraClass('btn-outline-danger btn-hide-outline font-icon-trash-bin action-delete'));
|
||||
}
|
||||
} else { // adding new record
|
||||
//Change the Save label to 'Create'
|
||||
|
Loading…
x
Reference in New Issue
Block a user