place submit button outside of content container

This commit is contained in:
Uwe Steinmann 2021-06-01 07:15:52 +02:00
parent 04a5f21a07
commit d5b21e0eca

View File

@ -45,7 +45,6 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
$this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document); $this->pageNavigation($this->getFolderPathHTML($folder, true, $document), "view_document", $document);
$this->contentHeading(getMLText("edit_attributes")); $this->contentHeading(getMLText("edit_attributes"));
$this->contentContainerStart();
?> ?>
<form class="form-horizontal" action="../op/op.EditAttributes.php" name="form1" method="POST"> <form class="form-horizontal" action="../op/op.EditAttributes.php" name="form1" method="POST">
<?php echo createHiddenFieldWithKey('editattributes'); ?> <?php echo createHiddenFieldWithKey('editattributes'); ?>
@ -53,6 +52,7 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
<input type="hidden" name="version" value="<?php print $version->getVersion();?>"> <input type="hidden" name="version" value="<?php print $version->getVersion();?>">
<?php <?php
$this->contentContainerStart();
if($attrdefs) { if($attrdefs) {
foreach($attrdefs as $attrdef) { foreach($attrdefs as $attrdef) {
$arr = $this->callHook('editDocumentContentAttribute', $version, $attrdef); $arr = $this->callHook('editDocumentContentAttribute', $version, $attrdef);
@ -75,11 +75,11 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Theme_Style {
} elseif(is_string($arrs)) { } elseif(is_string($arrs)) {
echo $arrs; echo $arrs;
} }
$this->contentContainerEnd();
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save')); $this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('save'));
?> ?>
</form> </form>
<?php <?php
$this->contentContainerEnd();
$this->contentEnd(); $this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */