Issue #2469929 by mondrake, Bojan Živkov, LewisNyman, tim.plunkett, Bojhan, roderik: The confirmation forms' cancel link should be styled as a button

8.0.x
xjm 2015-05-18 14:44:12 -07:00
parent 269f03db3f
commit 1fbb13418d
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class ConfirmFormHelper {
return [
'#type' => 'link',
'#title' => $form->getCancelText(),
'#attributes' => ['class' => ['button']],
'#url' => $url,
];
}