user/forms/SignUpForm.php
public function messages($name)
    {
        if ($this->hasMessagesFor($name)) {
            foreach ($this->getMessagesFor($name) as $message) {
                $this->flash->error($message);
            }
        }
    }
public function messages($name)
    {
        if ($this->hasMessagesFor($name)) {
            foreach ($this->getMessagesFor($name) as $message) {
                $this->flash->error($message);
            }
        }
    }
public function messages ( $ name ) { if ( $ this -> hasMessagesFor ( $ name ) ) { foreach ( $ this -> getMessagesFor ( $ name ) as $ message ) { $ this -> flash -> error ( $ message ) ; } } }
Prints messages for a specific element
Prints messages for a specific element