* @param Cemetery $this->cemetery */ use Application\Models\Person; use Blossom\Classes\View; $addButton = ''; if (Person::isAllowed('sections', 'edit')) { $helper = $this->template->getHelper('buttonLink'); $addButton = $helper->buttonLink( BASE_URI.'/sections/update?cemetery_id='.$this->cemetery->getId(), $this->translate('add_section'), 'add' ); } $name = View::escape($this->cemetery->getName()); echo "
{$this->translate('code')} | {$this->translate('name')} | ||
---|---|---|---|
$editButton | $code | $name |