Skip to content
Snippets Groups Projects
Commit fef59eb1 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Attributes

parent 6326f883
No related branches found
No related tags found
1 merge request!6Feature/attributes
Pipeline #7836 failed
......@@ -184,7 +184,7 @@ class Notice
$notice_class .= ' is-dismissible';
}
if (isset($this->attributes['class'])) {
$notice_class .= $this->attributes['class'];
$notice_class .= ' ' . $this->attributes['class'];
}
return $notice_class;
}
......@@ -210,7 +210,7 @@ class Notice
*/
public function showNotice()
{
echo sprintf('<div %1$s><p>%2$s</p></div>', $this->getAttributesAsString(), $this->noticeContent);
echo sprintf('<div %1$s>%2$s</div>', $this->getAttributesAsString(), $this->noticeContent);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment