Commit 454203f8 authored by alexpott's avatar alexpott
Browse files

Issue #2469911 by joshi.rohit100: The edit image styles form's cancel link...

Issue #2469911 by joshi.rohit100: The edit image styles form's cancel link should be styled a a button
parent 8048a382
......@@ -97,6 +97,7 @@ public function buildForm(array $form, FormStateInterface $form_state, ImageStyl
'#type' => 'link',
'#title' => $this->t('Cancel'),
'#url' => $this->imageStyle->urlInfo('edit-form'),
'#attributes' => ['class' => ['button']],
);
return $form;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment