fix tests

This commit is contained in:
Dennis Eichhorn 2022-10-08 21:34:59 +02:00
parent 994cd14148
commit 1f06f98acd
3 changed files with 6 additions and 5 deletions

View File

@ -25,7 +25,7 @@ echo $this->getData('nav')->render(); ?>
<form id="drawForm" action="<?= \phpOMS\Uri\UriFactory::build('{/api}draw?{?}&csrf={$CSRF}'); ?>" method="POST">
<div class="ipt-wrap">
<div class="ipt-first"><input type="text" id="iTitle" name="title" class="wf-100"></div>
<div class="ipt-second"><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>"></div>
<div class="ipt-second"><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>" name="create-draw"></div>
</div>
</form>
</div>
@ -89,7 +89,7 @@ echo $this->getData('nav')->render(); ?>
<form>
<table class="layout">
<tr><td colspan="2"><label><?= $this->getHtml('Permission'); ?></label>
<tr><td><select>
<tr><td><select name="permission">
<option>
</select>
<tr><td colspan="2"><label><?= $this->getHtml('GroupUser'); ?></label>

View File

@ -27,7 +27,7 @@ echo $this->getData('nav')->render(); ?>
<form id="drawForm" action="<?= \phpOMS\Uri\UriFactory::build('{/api}draw?{?}&csrf={$CSRF}'); ?>" method="POST">
<div class="ipt-wrap">
<div class="ipt-first"><input type="text" id="iTitle" name="title" class="wf-100" value="<?= $this->printHtml($image->getMedia()->getName()); ?>"></div>
<div class="ipt-second"><input type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"></div>
<div class="ipt-second"><input name="save-draw" type="submit" value="<?= $this->getHtml('Save', '0', '0'); ?>"></div>
</div>
</form>
</div>
@ -91,7 +91,7 @@ echo $this->getData('nav')->render(); ?>
<form>
<table class="layout">
<tr><td colspan="2"><label><?= $this->getHtml('Permission'); ?></label>
<tr><td><select>
<tr><td><select name="permission">
<option>
</select>
<tr><td colspan="2"><label><?= $this->getHtml('GroupUser'); ?></label>

View File

@ -1,4 +1,5 @@
<?php declare(strict_types=1);
<?php
declare(strict_types=1);
// Modules/tests