mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
object/fields: allow to abort "edit"
This commit is contained in:
parent
25e7a83374
commit
36cc3213f7
@ -1,6 +1,9 @@
|
||||
<div class="controls">
|
||||
<?= $this->tabs ?>
|
||||
<h1><?= $this->escape($this->title) ?></h1>
|
||||
<span>
|
||||
<?= $this->actionLinks ?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
|
@ -184,6 +184,14 @@ abstract class ObjectController extends ActionController
|
||||
$type . '_id' => $object->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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user