/**
  * @param $element
  * @return bool
  */
 protected function getErrors($element)
 {
     if (!isset($this->getView()->errors)) {
         return false;
     }
     $errors = Keyper::create($this->getView()->errors);
     return $errors->get($element) ?: false;
 }
<?php

if ($errors) {
    $errors = \Vnn\Keyper\Keyper::create($errors);
    if ($errors->get($name)) {
        ?>
<div class="alert alert-danger">
    <?php 
        echo implode(', ', $errors->get($name));
        ?>
</div>
<?php 
    }
}