mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
object/fields: allow to abort "edit"
This commit is contained in:
parent
25e7a83374
commit
36cc3213f7
@ -1,6 +1,9 @@
|
|||||||
<div class="controls">
|
<div class="controls">
|
||||||
<?= $this->tabs ?>
|
<?= $this->tabs ?>
|
||||||
<h1><?= $this->escape($this->title) ?></h1>
|
<h1><?= $this->escape($this->title) ?></h1>
|
||||||
|
<span>
|
||||||
|
<?= $this->actionLinks ?>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
@ -184,6 +184,14 @@ abstract class ObjectController extends ActionController
|
|||||||
$type . '_id' => $object->id,
|
$type . '_id' => $object->id,
|
||||||
'datafield_id' => $id
|
'datafield_id' => $id
|
||||||
));
|
));
|
||||||
|
|
||||||
|
$this->view->actionLinks = $this->view->qlink(
|
||||||
|
$this->translate('back'),
|
||||||
|
$this->getRequest()->getUrl()->without('field_id'),
|
||||||
|
null,
|
||||||
|
array('class' => 'icon-left-big')
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$form->handleRequest();
|
$form->handleRequest();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user