Fix api path

This commit is contained in:
Dennis Eichhorn 2017-05-31 09:40:28 +02:00
parent 19d6b16fcd
commit 0fd6a4d6cf

View File

@ -23,7 +23,7 @@ echo $this->getData('nav')->render(); ?>
<div class="col-xs-12">
<section class="box wf-100">
<div class="inner">
<form id="fEditor" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('/{/lang}/api/editor?{?}&csrf={$CSRF}'); ?>">
<form id="fEditor" method="POST" action="<?= \phpOMS\Uri\UriFactory::build('{/base}/{/lang}/api/editor?{?}&csrf={$CSRF}'); ?>">
<input name="title" type="text" class="wf-100">
<input type="submit" value="<?= $this->getText('Save'); ?>">
</form>