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