move submit button out of contentContainer

This commit is contained in:
Uwe Steinmann 2021-05-04 15:55:35 +02:00
parent bd73b57a63
commit 620783d17d

View File

@ -80,8 +80,6 @@ $(document).ready(function() {
$this->contentHeading(getMLText("change_status"));
$this->contentContainerStart();
// Display the Review form.
?>
<form class="form-horizontal" method="post" action="../op/op.OverrideContentStatus.php" id="form1" name="form1">
@ -89,6 +87,7 @@ $(document).ready(function() {
<input type='hidden' name='documentid' value='<?php echo $document->getID() ?>'/>
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
<?php
$this->contentContainerStart();
$this->formField(
getMLText("comment"),
array(
@ -111,11 +110,11 @@ $(document).ready(function() {
'options'=>$options,
)
);
$this->contentContainerEnd();
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('update'));
?>
</form>
<?php
$this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */