mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
show/object: render preview for stored objects only
This commit is contained in:
parent
3e54af435b
commit
72961586c5
@ -4,7 +4,10 @@
|
|||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<?= $this->form ?>
|
<?= $this->form ?>
|
||||||
<pre>
|
<?php
|
||||||
<?= $this->escape($form->getObject()) ?>
|
$object = $form->getObject();
|
||||||
</pre>
|
if ($object->hasBeenLoadedFromDb()) {
|
||||||
|
echo '<pre>' . $this->escape($object) . '</pre>';
|
||||||
|
}
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user