mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7307 from creative-commoners/pulls/4.0/fix-gridfield-delete-button
FIX Use correct bootstrap class or GridFieldDetailForm delete button
This commit is contained in:
commit
9ff62cf6a0
@ -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…
Reference in New Issue
Block a user