mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-02-09 19:38:41 +00:00
test and implemenation fixes
This commit is contained in:
parent
c0b1ba8998
commit
c6d2d64d62
|
|
@ -38,7 +38,7 @@ return [
|
||||||
'^.*/api/task/element.*$' => [
|
'^.*/api/task/element.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Tasks\Controller\ApiController:apiTaskElementCreate',
|
'dest' => '\Modules\Tasks\Controller\ApiController:apiTaskElementCreate',
|
||||||
'verb' => RouteVerb::SET,
|
'verb' => RouteVerb::PUT,
|
||||||
'permission' => [
|
'permission' => [
|
||||||
'module' => ApiController::MODULE_NAME,
|
'module' => ApiController::MODULE_NAME,
|
||||||
'type' => PermissionType::CREATE,
|
'type' => PermissionType::CREATE,
|
||||||
|
|
|
||||||
|
|
@ -131,7 +131,7 @@ echo $this->getData('nav')->render(); ?>
|
||||||
|
|
||||||
<section class="box wf-100">
|
<section class="box wf-100">
|
||||||
<div class="inner">
|
<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">
|
<table class="layout wf-100" style="table-layout: fixed">
|
||||||
<tr><td><label for="iMessage"><?= $this->getHtml('Message') ?></label>
|
<tr><td><label for="iMessage"><?= $this->getHtml('Message') ?></label>
|
||||||
<tr><td><?= $this->getData('editor')->render('task-editor'); ?>
|
<tr><td><?= $this->getData('editor')->render('task-editor'); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user