show preview of document next to form for attributes

This commit is contained in:
Uwe Steinmann 2023-04-25 17:10:58 +02:00
parent e5b60df503
commit 1a8a614359

View File

@ -44,6 +44,8 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
$this->contentStart();
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
$this->rowStart();
$this->columnStart(6);
$this->contentHeading(getMLText("edit_attributes"));
?>
<form class="form-horizontal" action="../op/op.EditAttributes.php" name="form1" method="POST">
@ -79,6 +81,13 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
} else {
$this->warningMsg(getMLText('no_attributes_defined'));
}
$this->columnEnd();
$this->columnStart(6);
?>
<div class="ajax" data-view="ViewDocument" data-action="preview" <?php echo ($document ? "data-query=\"documentid=".$document->getID()."\"" : "") ?>></div>
<?php
$this->columnEnd();
$this->rowEnd();
?>
</form>
<?php