FIX Use bootstrap for "preview email" button in recipients form

This commit is contained in:
Robbie Averill 2017-08-24 15:17:16 +12:00
parent 4942ac35ad
commit 298441b50b

View File

@ -303,7 +303,7 @@ class EmailRecipient extends DataObject
->setSession(Controller::curr()->getRequest()->getSession()); ->setSession(Controller::curr()->getRequest()->getSession());
$preview = sprintf( $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( Controller::join_links(
$pageEditController->getEditForm()->FormAction(), $pageEditController->getEditForm()->FormAction(),
"field/EmailRecipients/item/{$this->ID}/preview" "field/EmailRecipients/item/{$this->ID}/preview"