mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
FIX Use bootstrap for "preview email" button in recipients form
This commit is contained in:
parent
4942ac35ad
commit
298441b50b
@ -303,7 +303,7 @@ class EmailRecipient extends DataObject
|
||||
->setSession(Controller::curr()->getRequest()->getSession());
|
||||
|
||||
$preview = sprintf(
|
||||
'<p><a href="%s" target="_blank" class="ss-ui-button">%s</a></p><em>%s</em>',
|
||||
'<p><a href="%s" target="_blank" class="btn btn-outline-secondary">%s</a></p><em>%s</em>',
|
||||
Controller::join_links(
|
||||
$pageEditController->getEditForm()->FormAction(),
|
||||
"field/EmailRecipients/item/{$this->ID}/preview"
|
||||
|
Loading…
Reference in New Issue
Block a user