mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
test and implemenation fixes
This commit is contained in:
parent
c0b1ba8998
commit
c6d2d64d62
|
|
@ -38,7 +38,7 @@ return [
|
|||
'^.*/api/task/element.*$' => [
|
||||
[
|
||||
'dest' => '\Modules\Tasks\Controller\ApiController:apiTaskElementCreate',
|
||||
'verb' => RouteVerb::SET,
|
||||
'verb' => RouteVerb::PUT,
|
||||
'permission' => [
|
||||
'module' => ApiController::MODULE_NAME,
|
||||
'type' => PermissionType::CREATE,
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ echo $this->getData('nav')->render(); ?>
|
|||
|
||||
<section class="box wf-100">
|
||||
<div class="inner">
|
||||
<form id="taskElementCreate" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
|
||||
<form id="taskElementCreate" method="PUT" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/task/element?{?}&csrf={$CSRF}'); ?>">
|
||||
<table class="layout wf-100" style="table-layout: fixed">
|
||||
<tr><td><label for="iMessage"><?= $this->getHtml('Message') ?></label>
|
||||
<tr><td><?= $this->getData('editor')->render('task-editor'); ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user