place submit button outside of contentContainer

This commit is contained in:
Uwe Steinmann 2021-05-04 17:50:18 +02:00
parent b5116e3c1b
commit 073ba8281c

View File

@ -65,13 +65,13 @@ class SeedDMS_View_Calendar extends SeedDMS_Theme_Style {
if($event) { if($event) {
// print_r($event); // print_r($event);
$this->contentHeading(getMLText('edit_event')); $this->contentHeading(getMLText('edit_event'));
$this->contentContainerStart();
?> ?>
<form class="form-horizontal" action="../op/op.EditEvent.php" id="form1" name="form1" method="post"> <form class="form-horizontal" action="../op/op.EditEvent.php" id="form1" name="form1" method="post">
<?php echo createHiddenFieldWithKey('editevent'); ?> <?php echo createHiddenFieldWithKey('editevent'); ?>
<input type="hidden" name="eventid" value="<?php echo (int) $event["id"]; ?>"> <input type="hidden" name="eventid" value="<?php echo (int) $event["id"]; ?>">
<?php <?php
$this->contentContainerStart();
$this->formField( $this->formField(
getMLText("from"), getMLText("from"),
$this->getDateChooser(getReadableDate($event["start"]), "from") $this->getDateChooser(getReadableDate($event["start"]), "from")
@ -100,11 +100,11 @@ class SeedDMS_View_Calendar extends SeedDMS_Theme_Style {
'required'=>$strictformcheck 'required'=>$strictformcheck
) )
); );
$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->contentHeading(getMLText('rm_event')); $this->contentHeading(getMLText('rm_event'));
$this->contentContainerStart(); $this->contentContainerStart();
?> ?>