public function renderFlash($options = array())
    {
        $options['alerts'] = $this->alertManager->getFlashAlerts();

        if (empty($options['alerts'])) {
            return '';
        }

        return $this->alertHelper->render($options, $this->getTemplate($options));
    }