move submit out of contentContainer

This commit is contained in:
Uwe Steinmann 2021-05-04 15:55:10 +02:00
parent 1c6c36eb52
commit bd73b57a63

View File

@ -82,13 +82,13 @@ $(document).ready(function() {
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
$this->contentHeading(getMLText("edit_comment"));
$this->contentContainerStart();
?>
<form class="form-horizontal" action="../op/op.EditComment.php" id="form1" name="form1" method="post">
<?php echo createHiddenFieldWithKey('editcomment'); ?>
<input type="Hidden" name="documentid" value="<?php print $document->getID();?>">
<input type="Hidden" name="version" value="<?php print $version->getVersion();?>">
<?php
$this->contentContainerStart();
$this->formField(
getMLText("comment"),
array(
@ -99,11 +99,11 @@ $(document).ready(function() {
'value'=>htmlspecialchars($version->getComment())
)
);
$this->contentContainerEnd();
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
?>
</form>
<?php
$this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */