* @param Person $this->person */ use Blossom\Classes\View; $fields = array('firstname','lastname','email'); foreach ($fields as $field) { $get = 'get'.ucfirst($field); $$field = View::escape($this->person->$get()); } $title = $this->person->getId() ? View::escape('Edit '.$this->person->getFirstname()) : 'Add Someone'; ?>

_('info_person'); ?>
template->getHelper('saveAndCancelButtons'); echo $h->saveAndCancelButtons(BASE_URI.'/people'); ?>