2015-04-24 14:27:22 +02:00
|
|
|
<div class="controls">
|
|
|
|
<h1><?= $this->escape($this->title) ?></h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content">
|
|
|
|
<?= $this->form ?>
|
2015-06-24 14:42:18 +02:00
|
|
|
<?php
|
|
|
|
$object = $form->getObject();
|
|
|
|
if ($object->hasBeenLoadedFromDb()) {
|
|
|
|
echo '<pre>' . $this->escape($object) . '</pre>';
|
|
|
|
}
|
|
|
|
?>
|
2015-04-24 14:27:22 +02:00
|
|
|
</div>
|