fix tests

This commit is contained in:
Dennis Eichhorn 2022-10-08 21:35:00 +02:00
parent 46612ada50
commit 66cab3dfd3
5 changed files with 13 additions and 11 deletions

View File

@ -1,4 +1,5 @@
<?php declare(strict_types=1); <?php
declare(strict_types=1);
use phpOMS\Router\RouteVerb; use phpOMS\Router\RouteVerb;

View File

@ -23,6 +23,6 @@ use phpOMS\Uri\UriFactory;
</ul> </ul>
</nav> </nav>
<div id="search"> <div id="search">
<input type="text"> <input type="text" name="search">
</div> </div>
</header> </header>

View File

@ -348,7 +348,7 @@ echo $this->getData('nav')->render(); ?>
</div> </div>
<div class="more-container"> <div class="more-container">
<input id="more-customer-sales" type="checkbox"> <input id="more-customer-sales" type="checkbox" name="more-container">
<label for="more-customer-sales"> <label for="more-customer-sales">
<span>Advanced</span> <span>Advanced</span>
<i class="fa fa-chevron-right expand"></i> <i class="fa fa-chevron-right expand"></i>

View File

@ -25,17 +25,17 @@ echo $this->getData('nav')->render(); ?>
<form action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/template'); ?>" method="post"> <form action="<?= \phpOMS\Uri\UriFactory::build('{/api}helper/template'); ?>" method="post">
<table class="layout wf-100"> <table class="layout wf-100">
<tbody> <tbody>
<tr><td><label for="iTitle"><?= $this->getHtml('Department'); ?></label> <tr><td><label for="iDepartment"><?= $this->getHtml('Department'); ?></label>
<tr><td><select></select> <tr><td><select id="iDepartment" name="department"></select>
<tr><td><label for="iTitle"><?= $this->getHtml('Topic'); ?></label> <tr><td><label for="iTopic"><?= $this->getHtml('Topic'); ?></label>
<tr><td><select></select> <tr><td><select id="iTopic" name="topic"></select>
<tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label> <tr><td><label for="iTitle"><?= $this->getHtml('Title'); ?></label>
<tr><td><input id="iTitle" name="name" type="text" required> <tr><td><input id="iDescription" name="name" type="text" required>
<tr><td><label for="iTitle"><?= $this->getHtml('Description'); ?></label> <tr><td><label for="iDescription"><?= $this->getHtml('Description'); ?></label>
<tr><td><textarea required></textarea> <tr><td><textarea required></textarea>
<tr><td><label for="iFile"><?= $this->getHtml('Files'); ?></label> <tr><td><label for="iFile"><?= $this->getHtml('Files'); ?></label>
<tr><td><input id="iFile" name="fileVisual" type="file" multiple><input id="iFileHidden" name="files" type="hidden"> <tr><td><input id="iFile" name="fileVisual" type="file" multiple><input id="iFileHidden" name="files" type="hidden">
<tr><td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>"> <tr><td><input type="submit" value="<?= $this->getHtml('Create', '0', '0'); ?>" name="create-ticket">
</table> </table>
</form> </form>
</div> </div>

View File

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