<?php
/**
 * @var \App\View\AppView $this
 * @var array $params
 * @var string $message
 */
if (!isset($params['escape']) || $params['escape'] !== false) {
    $message = h($message);
}
?>
<div class="message info is-dismissible" role="alert" aria-live="polite">
    <span class="message-text"><?= $message ?></span>
    <span
        role="button"
        tabindex="0"
        class="message-close"
        aria-label="Dismiss message"
        onclick="this.parentElement.remove();"
        onkeydown="if(event.key==='Enter')this.parentElement.remove();"
    >&times;</span>
</div>
